Method: domains.delete

Deletes a domain from the user's account. Returns NOT_FOUND if the domain is not registered by the user.

HTTP request

DELETE https://gmailpostmastertools.googleapis.com/v2beta/{name=domains/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The domain to delete.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/postmaster
  • https://www.googleapis.com/auth/postmaster.domain

For more information, see the Authorization guide.