group-types

Delete

Deletes a group type. Groups referencing it are NOT deleted or blocked — the FK is ON DELETE SET NULL, so they fall back to untyped rather than failing the delete or cascading. 403 group_type_reserved on a RESERVED type (reserved_for set): those change by migration only.

delete/group-types/{id}

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/group-types/{id}
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

id

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

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