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": "3f7cfccc-6c8a-4d35-9c1b-571577bd3064",
"type": "authorizations",
"attributes": {
"authorizable_id": "04c1bf4f-4509-4c9a-b89d-6fde8caa9e19",
"authorizable_type": "Dashboard",
"grantee_id": "104",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2026-01-16T12:38:12.008-08:00",
"created_at": "2026-01-16T12:38:12.008-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": "3f7cfccc-6c8a-4d35-9c1b-571577bd3064",
"type": "authorizations",
"attributes": {
"authorizable_id": "04c1bf4f-4509-4c9a-b89d-6fde8caa9e19",
"authorizable_type": "Dashboard",
"grantee_id": "104",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2026-01-16T12:38:12.008-08:00",
"created_at": "2026-01-16T12:38:12.008-08:00"
}
}
}