Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Response
authorization created
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": "1ce47585-3062-43d2-a647-2fc374fa38a0",
"type": "authorizations",
"attributes": {
"authorizable_id": "6433c71b-442f-4df7-af76-249aa9a54d67",
"authorizable_type": "Dashboard",
"grantee_id": "52",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-09-16T17:10:15.753-07:00",
"created_at": "2025-09-16T17:10:15.753-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
authorization created
Show child attributes
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": "1ce47585-3062-43d2-a647-2fc374fa38a0",
"type": "authorizations",
"attributes": {
"authorizable_id": "6433c71b-442f-4df7-af76-249aa9a54d67",
"authorizable_type": "Dashboard",
"grantee_id": "52",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-09-16T17:10:15.753-07:00",
"created_at": "2025-09-16T17:10:15.753-07:00"
}
}
}