Method: domains.delete
Deletes a domain of the customer.
HTTP request
DELETE https://admin.googleapis.com/admin/directory/v1/customer/{customer}/domains/{domainName}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
customer |
string
Immutable ID of the Google Workspace account.
|
domainName |
string
Name of domain to be deleted
|
Request body
The request body must be empty.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admin.directory.domain
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-08-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Permanently deletes a specified domain from a Google Workspace account."],["Requires authorization with the `https://www.googleapis.com/auth/admin.directory.domain` scope."],["Uses an HTTP DELETE request to the specified endpoint with the customer ID and domain name."],["The request body should be empty."],["A successful deletion results in a generic HTTP response."]]],["This document details the process of deleting a customer's domain using an HTTP DELETE request. The request URL structure requires specifying the customer's immutable ID and the domain name to be deleted as path parameters. The request body must be empty. A successful request results in a generic HTTP response. Authorization requires the `https://www.googleapis.com/auth/admin.directory.domain` OAuth scope.\n"]]