Update User Delegates

Update the delegates assigned to a user.

Update the delegates assigned to a user

post
Path parameters
uidinteger · int64Required

User ID as a decimal integer

Header parameters
sessionTokenstringRequired

Session authentication token.

Body
userIdinteger · int64OptionalExample: 7215545078461
actionstring · enumOptionalExample: ADDPossible values:
Responses
200

Sucesss.

application/json
post
/v1/admin/user/{uid}/delegates/update

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 Privileges

Calling 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?