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": "ba99c6af-07c5-45f4-836e-ecc56e236773",
"type": "authorizations",
"attributes": {
"authorizable_id": "6510387d-ec75-42a4-95f1-417f7fadbb1d",
"authorizable_type": "Dashboard",
"grantee_id": "36",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-07-21T23:14:08.758-07:00",
"created_at": "2025-07-21T23:14:08.758-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": "ba99c6af-07c5-45f4-836e-ecc56e236773",
"type": "authorizations",
"attributes": {
"authorizable_id": "6510387d-ec75-42a4-95f1-417f7fadbb1d",
"authorizable_type": "Dashboard",
"grantee_id": "36",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-07-21T23:14:08.758-07:00",
"created_at": "2025-07-21T23:14:08.758-07:00"
}
}
}