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": "2a3759c3-becc-4ac6-b248-20332ec81c2b",
"type": "authorizations",
"attributes": {
"authorizable_id": "88ae1152-d53a-4a43-a8b9-0b1e5451150e",
"authorizable_type": "Dashboard",
"grantee_id": "84",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-12-24T09:23:42.422-08:00",
"created_at": "2025-12-24T09:23:42.422-08:00"
}
}
}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": "2a3759c3-becc-4ac6-b248-20332ec81c2b",
"type": "authorizations",
"attributes": {
"authorizable_id": "88ae1152-d53a-4a43-a8b9-0b1e5451150e",
"authorizable_type": "Dashboard",
"grantee_id": "84",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2025-12-24T09:23:42.422-08:00",
"created_at": "2025-12-24T09:23:42.422-08:00"
}
}
}