Backend API
cURL
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 }
Get all organization roles in the deployment.
Returns both deployment-level roles and organization-specific roles.
API key authentication (Bearer token)
Organization roles retrieved successfully
Show child attributes
Was this page helpful?