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": "794ce940-4cab-41e7-8b9b-bd49b2f1693c",
"type": "authorizations",
"attributes": {
"authorizable_id": "981de35a-f6b1-4e4f-bd65-3456005ca111",
"authorizable_type": "Dashboard",
"grantee_id": "105",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2026-02-06T18:23:14.317-08:00",
"created_at": "2026-02-06T18:23:14.317-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": "794ce940-4cab-41e7-8b9b-bd49b2f1693c",
"type": "authorizations",
"attributes": {
"authorizable_id": "981de35a-f6b1-4e4f-bd65-3456005ca111",
"authorizable_type": "Dashboard",
"grantee_id": "105",
"grantee_type": "User",
"permissions": [
"read"
],
"updated_at": "2026-02-06T18:23:14.317-08:00",
"created_at": "2026-02-06T18:23:14.317-08:00"
}
}
}