---
title: "Delete"
method: DELETE
path: "/group-types/{id}"
tags: ["group-types"]
---

# Delete

`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`

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.

## Path parameters

- `id` string, required

## Response `200`

OK

- InternalDeliveryHttpHandlerOKResponse
  - `success` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/instruxi/apis/enforcer-api.md) · [All operations](https://skmtc.dev/instruxi/apis/enforcer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/instruxi/apis/enforcer-api/revisions/fa82bc1becc0?raw)
