Skip to content
Dashboard
Theme
Theme

Delete policy

DELETE /v1/policies/{policy}: Delete policy.

View Markdown

DELETE /v1/policies/{policy}

Scope
policies:write
Auth
Secret key (sk_…)
Since
1.0
  • policy string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X DELETE \
"https://api.ohauthcat.com/v1/policies/pol_01J9ZQ4M7K2X8V3N5B6C1D0E9F" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"

Response 204: no body.