---
title: "Delete data retention policy"
url: https://hexelstudio.com/docs/api/ciam-iam/retention/delete
---

# Delete data retention policy

**DELETE** `/audit/retention/{policy_id}`

## Path parameters

- `policy_id: string`

  Policy ID

## Headers

- `Authorization: string`

  `Bearer <token>`.

## Returns

`200` OK (`map[string]`)

## Errors

- `404` Not Found

## Example

```bash
curl --request DELETE \
  --url 'https://api.hexelstudio.com/v1/audit/retention/{policy_id}' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "key": "string"
}
```

### Response (404)

```json
{
  "key": "string"
}
```
