Method: domains.patch

Full name:

Updates the metadata and configuration of a domain.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Output only. The unique name of the domain using the form: projects/{projectId}/locations/global/domains/{domainName}.

Query parameters


string (FieldMask format)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain: * labels * locations * authorizedNetworks * auditLogsEnabled

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Authorization requires the following IAM permission on the specified resource updateMask:


Request body

The request body contains an instance of Domain.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.