Update a specific authorization by id
curl --request PUT \
--url https://api.rootly.com/v1/authorizations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "authorizations",
"attributes": {
"permissions": [
"read"
]
}
}
}'
{
"data": {
"id": "f9cd7d01-c525-4046-9dc7-ca8c1ca0b4ed",
"type": "authorizations",
"attributes": {
"authorizable_id": "ccf3052b-111d-433b-b153-7b6d1315e6e6",
"authorizable_type": "Dashboard",
"grantee_id": "44",
"grantee_type": "User",
"permissions": [
"read",
"update"
],
"updated_at": "2025-08-01T14:54:32.991-07:00",
"created_at": "2025-08-01T14:54:32.902-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
authorization updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/authorizations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "authorizations",
"attributes": {
"permissions": [
"read"
]
}
}
}'
{
"data": {
"id": "f9cd7d01-c525-4046-9dc7-ca8c1ca0b4ed",
"type": "authorizations",
"attributes": {
"authorizable_id": "ccf3052b-111d-433b-b153-7b6d1315e6e6",
"authorizable_type": "Dashboard",
"grantee_id": "44",
"grantee_type": "User",
"permissions": [
"read",
"update"
],
"updated_at": "2025-08-01T14:54:32.991-07:00",
"created_at": "2025-08-01T14:54:32.902-07:00"
}
}
}