Method: projects.update

Updates the attributes of the Project identified by the specified projectId (for example, my-project-123).

The caller must have modify permissions for this Project.

HTTP request

PUT https://cloudresourcemanager.googleapis.com/v1/projects/{projectId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

The project ID (for example, my-project-123).

Required.

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

  • resourcemanager.projects.update

Request body

The request body contains an instance of Project.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.