Gets details about a specific org platform role.
Required permission
Os > Admin > Roles > Read
Path parameters
roleId
string requiredID of the org role
Response body
- {object}Response object.
data
{object} requiredResult data.id
string requiredID of the role.pattern^[A-Za-z0-9-]+$name
string requiredDisplay name of the role.description
stringDescription of the role.restrictions
{object} requiredenabled
boolean requiredWhether restrictions are enabled.createdAt
stringCreation time.updatedAt
stringLast updated.permissions
{object} requiredteamScope
[array] requiredTeam-level permissions.- string
projectScope
[array] requiredProject-level permissions.- string
orgScope
[array] requiredOrg-level permissions.- string
API
CLI
JS Client
GET /v1/org-roles/{roleId}
Example response
200 OK
Details about the org role.
JSON
{
"data": {
"id": "developer",
"name": "Developer",
"description": "Role for developers.",
"createdAt": "2021-01-20T11:19:53.175Z",
"updatedAt": "2021-01-20T11:19:53.175Z"
}
}