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": "856921b2-0907-4747-8d8d-4b1ebab8ecf4",
"type": "authorizations",
"attributes": {
"authorizable_id": "b3f5937b-1549-430f-a780-e204f98812c0",
"authorizable_type": "Dashboard",
"grantee_id": "78",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-10-07T17:06:29.482-07:00",
"created_at": "2025-10-07T17:06:29.482-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": "856921b2-0907-4747-8d8d-4b1ebab8ecf4",
"type": "authorizations",
"attributes": {
"authorizable_id": "b3f5937b-1549-430f-a780-e204f98812c0",
"authorizable_type": "Dashboard",
"grantee_id": "78",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-10-07T17:06:29.482-07:00",
"created_at": "2025-10-07T17:06:29.482-07:00"
}
}
}