---
title: "Changes to Delete Policy"
method: DELETE
path: "/policies/{policy_id}"
---

# Changes to Delete Policy

`DELETE /policies/{policy_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 5 revisions.

- **2026-10-22** `ed4b27064dfa`: 1 breaking, 10 info

## Changes

- **2026-10-22** `ed4b27064dfa`: 1 breaking, 10 info
  - the `detail` response's property type changed from `array` to `string` for status `422`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `500`
  - added the optional property `details` to the response with the `422` status
  - added the optional property `error` to the response with the `422` status
  - added the optional property `error_code` to the response with the `422` status
  - the response property `detail` became required for the status `422`
  - added the required property `message` to the response with the `422` status

---

[Operation](https://skmtc.dev/grayswan/apis/gray-swan-ai-api/docs/policies/:policy_id/delete.md) - [API](https://skmtc.dev/grayswan/apis/gray-swan-ai-api.md) - [Page](https://skmtc.dev/grayswan/apis/gray-swan-ai-api/changes/policies/:policy_id/delete)
