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

# Delete policy

**DELETE** `/policies/{policy_id}`

Delete a policy by ID

## Path parameters

- `policy_id: string`

  Policy ID

## Headers

- `Authorization: string`

  `Bearer <token>`.

## Returns

`204` No Content

## Errors

- `500` Internal Server Error

## Example

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

### Response (500)

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