roleManagement
Assign a role to a user.
Assign a role to a user in the organization.
put/v1/roles/{roleId}/users/{userId}
Request
- Base URLhttps://api.au.sumologic.com/api
- URLhttps://api.au.sumologic.com/api/v1/roles/{roleId}/users/{userId}
- AuthHTTP basic
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"
}Changes
No recorded changes to this operation across all 15 revisions of this API.