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.
/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.
A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Path Parameters
The organization's id
^org_[0-9a-hjkmnp-tv-z]{26}$The custom role's id
^role_[0-9a-hjkmnp-tv-z]{26}$Query Parameters
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
1 <= length <= 80Response 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"Cancel the payout wallet change waiting out its hold DELETE
Anyone who edits donation settings, even while the org is suspended: an Admin who doesn’t recognize a change stops it, and the wallet in effect keeps receiving. Everyone who sees donation settings is told. `404` when nothing is waiting, as when it took effect a moment ago.
Disconnect the org’s bot: its webhook goes, and it stops posting DELETE
Disconnects the org's bot: its webhook is removed and it stops posting the burner's cleanups. Needs `integrations.edit`.