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": "4326ed49-02ad-4cbf-b967-0eb48c83dd59",
"type": "authorizations",
"attributes": {
"authorizable_id": "cc6edd12-e0f9-446a-b7f8-7bd0a13ec57f",
"authorizable_type": "Dashboard",
"grantee_id": "44",
"grantee_type": "User",
"permissions": [
"read",
"update"
],
"updated_at": "2025-07-17T10:59:53.713-07:00",
"created_at": "2025-07-17T10:59:53.569-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": "4326ed49-02ad-4cbf-b967-0eb48c83dd59",
"type": "authorizations",
"attributes": {
"authorizable_id": "cc6edd12-e0f9-446a-b7f8-7bd0a13ec57f",
"authorizable_type": "Dashboard",
"grantee_id": "44",
"grantee_type": "User",
"permissions": [
"read",
"update"
],
"updated_at": "2025-07-17T10:59:53.713-07:00",
"created_at": "2025-07-17T10:59:53.569-07:00"
}
}
}