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}

Request

  • Base URL
    https://api.kobaltlabs.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.kobaltlabs.com/internal/permissions/{permission_id}
  • Auth
    none declared

Path parameters

permission_idstring uuid required

Query parameters

forceboolean

Response

Successful Response

permission_idstring required
messagestring required

Changes

No recorded changes to this operation across all 8 revisions of this API.