Skip to main content
GET
/
organizations
/
roles
Get deployment organization roles
curl --request GET \
  --url https://api.wacht.dev/organizations/roles \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3333333333",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-20T15:45:00Z",
      "name": "Admin",
      "permissions": [
        "org:admin",
        "org:write",
        "org:read"
      ],
      "deployment_id": "1234567890",
      "organization_id": "1234567890"
    }
  ],
  "has_more": true,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

API key authentication (Bearer token)

Response

Organization roles retrieved successfully

data
object[]
required
has_more
boolean
required
limit
integer | null
offset
integer | null