Update User Delegates
Update the delegates assigned to a user.
Path parameters
uidinteger · int64Required
User ID as a decimal integer
Header parameters
sessionTokenstringRequired
Session authentication token.
Body
userIdinteger · int64OptionalExample:
7215545078461
actionstring · enumOptionalExample:
ADD
Possible values: Responses
200
Sucesss.
application/json
400
Client error, see response body for further details.
application/json
401
Unauthorized: Invalid session token.
application/json
403
Forbidden: Caller lacks necessary entitlement.
application/json
500
Server error, see response body for further details.
application/json
post
POST /pod/v1/admin/user/{uid}/delegates/update HTTP/1.1
Host: yourpodURL.symphony.com
sessionToken: text
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"userId": 7215545078461,
"action": "ADD"
}
{
"format": "TEXT",
"message": "Success"
}
As the example shows, the action to be performed (ADD
or REMOVE
) and the user to be added or removed as a delegate (specified by user ID) must be included in the data parameter.
🚧 Roles and PrivilegesCalling this endpoint requires the ACCESS_USER_PROVISIONING_API privilege. See Bot Permissions for a list of roles and associated privileges.
Last updated
Was this helpful?