Delete a detection policy
DELETE/v1/detections/policies/:id
Deletes a policy by ID. When deleteReferences=false (default), blocked with 409 if active match rules or LLM applications reference this policy.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 429
- 500
There is no content to send for this request, but the headers may be useful.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error