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

Delete a custom role, moving its members to another

Members who hold it get `reassignTo` instead, a role the caller may grant; each change is audited. Without `reassignTo`, only a role nobody holds can go.

DELETE/v1/orgs/{orgId}/roles/{roleId}

Members who hold it get reassignTo instead, a role the caller may grant; each change is audited. Without reassignTo, only a role nobody holds can go.

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}$
roleId*string

The custom role's id

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

Query Parameters

reassignTo?string

The key of the role its members get instead, when anyone holds it: a system role (not Owner) or another of the org's own

Length1 <= length <= 80

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/v1/orgs/string/roles/string"
Empty