Method: domains.resetAdminPassword

Full name: projects.locations.global.domains.resetAdminPassword

Resets a domain's administrator password.

HTTP request

POST https://managedidentities.googleapis.com/v1beta1/{name=projects/*/locations/global/domains/*}:resetAdminPassword

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The domain resource name using the form: projects/{projectId}/locations/global/domains/{domainName}

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

  • managedidentities.domains.resetpassword

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for [domains.resetAdminPassword][google.cloud.managedidentities.v1beta1.ResetAdminPassword]

JSON representation
{
  "password": string
}
Fields
password

string

A random password. See admin for more information.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.