Roles and members
Delete a custom role
Only a role nobody holds. Person only: a dashboard session, or the person's own OAuth or CLI token with a session step-up of purpose roles.write (the person confirms at the step_up_url a 403 step_up_required answer carries, which names this client, then send the token in the Primitive-Step-Up header; the token works only with the client it was confirmed for). Needs roles:assign. API keys are refused.
delete/roles/{id}
Request
- Base URLhttps://api.primitive.dev/v1
- URLhttps://api.primitive.dev/v1/roles/{id}
- AuthHTTP bearer
Path parameters
idstring uuid required
The id of the group, role, member, grant or suspension the path names.
Response
Delete a custom role
Changes
No operation changes recorded.