v3
latestSwagger 2.02026-08-067506752.0 MBuser
Update an existing user
patch/v1/user/{userId}
Path parameters
userIdstring required
User id
Request body
Example request
{
"appId": "588f7ee98f138b19220041a7",
"name": {
"first": "Jane",
"middle": "Quidditch",
"last": "Public",
"pref": "JQ",
"prefLast": "Smith"
},
"email": "bob@example.com",
"orgs": [
{
"orgId": "5887a7718f138b6a2a0041a7",
"personId": "5887a7718f138b6a2a0041a7",
"groupIds": [
"588f7ee98f138b19220041a7"
],
"roleId": "5887a7718f138b6a2a0041a7",
"policyIds": [
"588f7ee98f138b19220041a7"
],
"homeEmail": "bob@example.com",
"workEmail": "robert.doe@example.com",
"workRoleId": "67c851da3dd1668c2fdd7e44"
}
],
"emailSettings": [
{
"category": "ADMINISTRATIVE"
}
],
"shareAccess": [
{
"userId": "5887a7718f138b6a2a0041a7",
"groupId": "5887a7718f138b6a2a0041a7",
"fields": "name,image,title"
}
],
"agentConfig": {
"approvedPolicyRules": [
{
"departmentIds": [
"588f7ee98f138b19220041a7"
],
"filter": "department:engineering and under:me",
"targets": [
{
"personId": "588f7ee98f138b19220041a7"
}
]
}
],
"managerJobId": "588f7ee98f138b19220041a7",
"contentIds": [
"588f7ee98f138b19220041a7"
]
}
}Response
user updated