Policies: delete

Deletes a previously created Policy. Fails if the policy is still being referenced by a network.

Request

HTTP request

DELETE https://dns.googleapis.com/dns/v1/projects/project/policies/policy

Parameters

Parameter name Value Description
Path parameters
policy string User given friendly name of the policy addressed by this request.
project string Identifies the project addressed by this request.
Optional query parameters
clientOperationId string For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.

Authorization

This request requires authorization with at least one of the following scopes:

Scope
https://www.googleapis.com/auth/ndev.clouddns.readwrite
https://www.googleapis.com/auth/cloud-platform

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.