Roles
Get a role
Get a role in the organization specified by the role’s role_id.
get/api/v2/roles/{role_id}
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/roles/{role_id}
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: user_access_read
Path parameters
role_idstring required
The unique identifier of the role.
Response
OK
Example response
{
"data": {
"relationships": {
"permissions": {
"data": [
{
"type": "permissions"
}
]
}
},
"type": "roles"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.