Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs

The org's roles: the system ones, then its own, with how many members hold each

The roles members can hold: Burn & Claim's system roles, then the org's own, each with its permissions and how many members hold it. Needs `roles.view`.

GET/v1/orgs/{orgId}/roles

The roles members can hold: Burn & Claim's system roles, then the org's own, each with its permissions and how many members hold it. Needs roles.view.

Authorization

AuthorizationBearer <token>

A Synq access token for this API: bnc.read for reads, bnc.write for changes.

In: header

Path Parameters

orgId*string

The organization's id

Match^org_[0-9a-hjkmnp-tv-z]{26}$

Query Parameters

limit?integer

Records per page, from 1 to 200; defaults to 50

Range1 <= value <= 200
Default50
cursor?string

The nextCursor from the previous response, unchanged

Length1 <= length <= 4096

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/orgs/string/roles"
{  "data": [    {      "id": "role_01j3sa8pvcfp79z85hrb9y9xd6",      "key": "admin",      "name": "Admin",      "description": "string",      "system": true,      "permissions": [        "webhooks.view"      ],      "members": 0    }  ],  "nextCursor": "string"}