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": "3b03283d-2803-4507-bfee-0a947277a216",
"type": "authorizations",
"attributes": {
"authorizable_id": "f77b6f58-aa16-4d14-9302-7fa230752d97",
"authorizable_type": "Dashboard",
"grantee_id": "36",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-08-11T23:17:33.746-07:00",
"created_at": "2025-08-11T23:17:33.746-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": "3b03283d-2803-4507-bfee-0a947277a216",
"type": "authorizations",
"attributes": {
"authorizable_id": "f77b6f58-aa16-4d14-9302-7fa230752d97",
"authorizable_type": "Dashboard",
"grantee_id": "36",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-08-11T23:17:33.746-07:00",
"created_at": "2025-08-11T23:17:33.746-07:00"
}
}
}