Method: domains.get
Gets a specific domain registered by the client. Returns NOT_FOUND if the domain does not exist.
HTTP request
GET https://gmailpostmastertools.googleapis.com/v1/{name=domains/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
The resource name of the domain. It should have the form domains/{domain_name} , where domain_name is the fully qualified domain name.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Domain
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/postmaster.readonly
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.
[null,null,["Last updated 2024-09-04 UTC."],[[["Retrieves details about a specific domain registered by the client, returning a NOT_FOUND error if the domain doesn't exist."],["Uses a GET request with the domain name as a path parameter, formatted as `domains/{domain_name}`."],["Requires an empty request body and returns a Domain object in the response if successful."],["Needs authorization with the `https://www.googleapis.com/auth/postmaster.readonly` scope for access."]]],["The core content describes how to retrieve a specific domain registered by a client. A `GET` request is sent to a URL following gRPC Transcoding syntax, with the domain's resource name (`domains/{domain_name}`) provided as a path parameter. The request body must be empty. A successful response returns a `Domain` instance. The request requires the `https://www.googleapis.com/auth/postmaster.readonly` OAuth scope. A `NOT_FOUND` error is returned if the domain doesn't exist.\n"]]