Members and roles
Delete a custom role
Permission
roles:deleteAuthenticationDELETE
Permanently deletes an unreferenced custom role. System roles are immutable. Reassign members and cancel active invitations first; terminal invitation rows are removed atomically while their audit events remain. This operation accepts no request body.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
Role deleted.
curl -X DELETE 'https://api.kejue.co/v1/roles/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty