Docs

Delete Role

Delete a custom role that no member holds any more. Global roles can't be deleted.

DEL

Path

Path parameters
stringrequired

The role's id, from List Roles.

Headers

Optional headers
string

Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Response fields

idstring

The id of the resource that was deleted.