POST
/
v1
/
authorizations
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": "992994ec-c33e-4e3c-8325-828e872dcff6",
    "type": "authorizations",
    "attributes": {
      "authorizable_id": "c15eaab5-be84-4e69-b8ad-1964f2239aa8",
      "authorizable_type": "Dashboard",
      "grantee_id": "40",
      "grantee_type": "User",
      "permissions": [
        "read"
      ],
      "updated_at": "2025-03-19T07:48:17.010-07:00",
      "created_at": "2025-03-19T07:48:17.010-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
authorization created
data
object
required