English
cURL
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" }
Permanently deletes a DNS policy. This operation will fail if the policy is currently attached to one or more sites.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the DNS policy to delete.
The DNS policy was deleted successfully.
Was this page helpful?