v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBroleManagement
Assign a role to a user.
Assign a role to a user in the organization.
put/v1/roles/{roleId}/users/{userId}
Path parameters
roleIdstring required
Identifier of the role to assign.
userIdstring required
Identifier of the user to assign the role to.
Response
Role was successfully assigned to the user.
Example response
{
"name": "DataAdmin",
"description": "Manage data of the org.",
"filterPredicate": "!_sourceCategory=billing",
"users": [
"0000000006743FE0",
"0000000005FCE0EE"
],
"capabilities": [
"manageContent",
"manageDataVolumeFeed",
"manageFieldExtractionRules",
"manageS3DataForwarding"
],
"createdAt": "2018-10-16T09:10:00Z",
"createdBy": "0000000006743FDD",
"modifiedAt": "2018-10-16T09:10:00Z",
"modifiedBy": "0000000006743FE8",
"id": "0000000000E20FE3"
}