Skip to main content
DELETE
/
policies
/
{policyId}
Delete a policy
curl --request DELETE \
  --url https://api.altostrat.io/policies/{policyId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "invalid_request_error",
  "code": "parameter_missing",
  "message": "The 'name' parameter is required for this request.",
  "doc_url": "https://docs.altostrat.io/errors/parameter_missing"
}

Authorizations

Authorization
string
header
required

Enter your JWT bearer token.

Path Parameters

policyId
string<uuid>
required

The unique identifier for the policy.

Example:

"a1b2c3d4-e5f6-7890-1234-567890abcdef"

Response

The policy was successfully deleted.