Creates a new authorization from provided data
curl --request POST \
--url https://api.rootly.com/v1/authorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "authorizations",
"attributes": {
"authorizable_id": "<string>",
"authorizable_type": "Dashboard",
"grantee_id": "<string>",
"grantee_type": "User",
"permissions": [
"read"
]
}
}
}'
{
"data": {
"id": "41dbd401-470e-4a57-911d-bae75a76f13f",
"type": "authorizations",
"attributes": {
"authorizable_id": "97d869f1-a34c-4b02-b686-cfdc0679baab",
"authorizable_type": "Dashboard",
"grantee_id": "52",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-09-01T03:36:30.979-07:00",
"created_at": "2025-09-01T03:36:30.979-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
authorization created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/authorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "authorizations",
"attributes": {
"authorizable_id": "<string>",
"authorizable_type": "Dashboard",
"grantee_id": "<string>",
"grantee_type": "User",
"permissions": [
"read"
]
}
}
}'
{
"data": {
"id": "41dbd401-470e-4a57-911d-bae75a76f13f",
"type": "authorizations",
"attributes": {
"authorizable_id": "97d869f1-a34c-4b02-b686-cfdc0679baab",
"authorizable_type": "Dashboard",
"grantee_id": "52",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-09-01T03:36:30.979-07:00",
"created_at": "2025-09-01T03:36:30.979-07:00"
}
}
}