Skip to main content

Roles requests

Retrieving info about a specific role according to its ID

This endpoint helps you retrieve details about a particular role based on its ID.

note

This endpoint only returns folders and roles explicitly set for an auto-provisioned user. The ones inherited from the group configuration can be retrieved through the /api/DirectoryService/GetDirectoryPermissions?userId={userId} endpoint.

GET

{AutomationCloudURL}/{organizationName}/{tenantName}/orchestrator_/odata/Roles(259)

Request headers

HeaderValue
AuthorizationBearer

Request body

{
"@odata.context": "{AutomationCloudURL}/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Roles/$entity",
"Name": "TestRole",
"DisplayName": "TestRole",
"Groups": null,
"IsStatic": false,
"IsEditable": true,
"Id": 259
}

Response code

200 OK