Add Role

Adds a role or optional entitleable action to a user’s account.
post
https://yourpodURL.symphony.com/pod
/v1/admin/user/{uid}/roles/add
Add a role to a user
Parameters
Path
uid*
string
User ID as a decimal integer
Header
sessionToken*
string
Session authentication token.
Body
id
string
Body
Example
Schema
{
"id": "xhGxbTcvTDK6EIMMrwdOrX___quztr2HdA"
}
Responses
200: OK
Success
400: Bad Request
Client error, see response body for further details.
401: Unauthorized
Unauthorized: Invalid session token.
403: Forbidden
Forbidden: Caller lacks necessary entitlement.
500: Internal Server Error
Server error, see response body for further details.

Request Example

curl -X POST \
https://acme.symphony.com/pod/v1/admin/user/346147139412345/roles/add \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-H 'sessiontoken: SESSION_TOKEN' \
-d '{"id":"COMPLIANCE_OFFICER"}'

🚧 Required Permissions

Calling this endpoint requires the User Provisioning role with ACCESS_USER_PROVISIONING_API privilege. See Bot Permissions for a list of roles and associated privileges.
Last modified 2mo ago