For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Lakera DashboardBook a Demo
HomeOverviewGuidesAPI ReferenceChangelogSupport
HomeOverviewGuidesAPI ReferenceChangelogSupport
  • Overview
    • API Overview
    • Guard
    • Guard Results
    • Kubernetes Probes
  • Lakera API
  • Platform API
      • POSTCreate policy
      • GETGet policy
      • PUTUpdate policy
      • DELDelete policy
LogoLogo
Lakera DashboardBook a Demo
Platform APIPolicies

Delete policy

DELETE
https://platform.lakera.ai/api/v1-beta/policies/:policyId
DELETE
/api/v1-beta/policies/:policyId
$curl -X DELETE https://platform.lakera.ai/api/v1-beta/policies/policyId \
> -H "Authorization: Bearer <token>"
200Deleted
1{}
Was this page helpful?
Previous

Create project

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication using API key. Generate an API key from the Lakera platform. Example: Bearer sk_123…

Path parameters

policyIdstringRequired

Response

Policy deleted