Roles
Update a role
Edit a role. Can only be used with application keys belonging to administrators.
patch/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_manage
Path parameters
role_idstring required
The unique identifier of the role.
Request body
Example request
{
"data": {
"id": "00000000-0000-1111-0000-000000000000",
"relationships": {
"permissions": {
"data": [
{
"type": "permissions"
}
]
}
},
"type": "roles"
}
}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.