internal

Delete Permission

Delete a permission.

Refuses (409) if any role still grants it, returning the list of roles so the caller can prompt the user to remove it from those roles first. Pass force=true to first clear the permission from every role that grants it and then delete it, all in one transaction.

delete/internal/permissions/{permission_id}

Path parameters

permission_idstring uuid required

Query parameters

forceboolean

Response

Successful Response

permission_idstring required
messagestring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.