> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-beta.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server.

# Detach policy set from a user group

DELETE https://api.getzep.com/api/v4/user-groups/{group_uuid}/policy-sets/{policy_set_uuid}

Administrative operation. Requires an account-admin bearer token and the X-Zep-Project header. Project API keys are rejected. Use zepctl or the Zep dashboard.

Reference: https://docs-beta.getzep.com/sdk-reference/user-group/detach-policy-set

## Request

### Path parameters

- `group_uuid` (string, required) — User group UUID
- `policy_set_uuid` (string, required) — Policy set UUID

## Response

### 204

No Content

## Errors

### 400 Bad Request Error

Bad Request

- `error` (v4.ErrorBody, optional)

### 401 Unauthorized Error

Unauthorized

- `error` (v4.ErrorBody, optional)

### 403 Forbidden Error

Forbidden

- `error` (v4.ErrorBody, optional)

### 404 Not Found Error

Not Found

- `error` (v4.ErrorBody, optional)

### 409 Conflict Error

Conflict

- `error` (v4.ErrorBody, optional)

## Types

### v4.ErrorBody

- `code` (string, optional)
- `details` (map from string to any, optional)
- `message` (string, optional)
- `param` (string, optional)
- `request_id` (string, optional)