Skip to main content
DELETE
/
policies
/
{id}
curl --request DELETE \
  --url "https://api.roe-ai.com/v1/policies/POLICY_ID/?organization_id=YOUR_ORG_ID" \
  --header "Authorization: Bearer YOUR_API_KEY"
// No content - policy successfully deleted

Documentation Index

Fetch the complete documentation index at: https://docs.roe-ai.com/llms.txt

Use this file to discover all available pages before exploring further.

Delete a policy and all of its versions. This operation is irreversible.
Policies cannot be deleted while they are in use by any agent. You must first unlink all agents from the policy before deleting it.

Path Parameters

ParameterTypeRequiredDescription
iduuidYesUUID of the policy to delete

Query Parameters

ParameterTypeRequiredDescription
organization_iduuidYesUUID of the organization for access control
curl --request DELETE \
  --url "https://api.roe-ai.com/v1/policies/POLICY_ID/?organization_id=YOUR_ORG_ID" \
  --header "Authorization: Bearer YOUR_API_KEY"
// No content - policy successfully deleted

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Query Parameters

organization_id
string<uuid>

Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint.

Response

204

No response body