Skip to main content
DELETE
/
policy
/
{policyId}
Delete a DNS Policy
curl --request DELETE \
  --url https://api.altostrat.io/policy/{policyId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "invalid_request_error",
  "code": "parameter_invalid",
  "message": "The 'name' parameter cannot be empty.",
  "doc_url": "https://docs.altostrat.io/errors/parameter_invalid"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

policyId
string<uuid>
required

The unique identifier of the DNS policy to delete.

Response

The DNS policy was deleted successfully.