---
title: "Changes to Delete an AI Gateway Custom Policy"
method: DELETE
path: "/v1/ai-gateways/{gatewayId}/custom-policies/{customPolicyIdOrName}"
---

# Changes to Delete an AI Gateway Custom Policy

`DELETE /v1/ai-gateways/{gatewayId}/custom-policies/{customPolicyIdOrName}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 155 revisions.

- **2026-10-15** `7aab863a6daa`: 1 breaking, 2 warning
- **2026-09-30** `de79e1192f11`: 1 info

## Changes

- **2026-10-15** `7aab863a6daa`: 1 breaking, 2 warning
  - added `#/components/schemas/InvalidParameterMinimumTime, #/components/schemas/InvalidParameterMaximumTime` to the `invalid_parameters/items/` response property `oneOf` list for the response status `400`
  - added the new `key_invalid` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
  - added the new `unique` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- **2026-09-30** `de79e1192f11`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api-go-sdk/docs/v1/ai-gateways/:gatewayId/custom-policies/:customPolicyIdOrName/delete.md) - [API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [Page](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/ai-gateways/:gatewayId/custom-policies/:customPolicyIdOrName/delete)
