Method: organizations.update

Updates an Organization resource identified by the specified resource name.

HTTP request

PUT https://cloudresourcemanager.googleapis.com/v1beta1/{name=organizations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Output Only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organizationId]". For example, "organizations/1234".

Request body

The request body contains data with the following structure:

JSON representation
{
  "organizationId": string,
  "displayName": string,
  "owner": {
    object(OrganizationOwner)
  },
  "creationTime": string,
  "lifecycleState": enum(LifecycleState)
}
Fields
organizationId
(deprecated)

string

An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.

displayName

string

A human-readable string that refers to the Organization in the GCP Console UI. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the G Suite customer that owns the organization.

Note: This field is used in responses only. Any value specified here in a request is ignored.

owner

object(OrganizationOwner)

The owner of this Organization. The owner should be specified on creation. Once set, it cannot be changed. This field is required.

creationTime

string (Timestamp format)

Timestamp when the Organization was created. Assigned by the server.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Note: This field is used in responses only. Any value specified here in a request is ignored.

lifecycleState

enum(LifecycleState)

The organization's current lifecycle state. Assigned by the server.

Note: This field is used in responses only. Any value specified here in a request is ignored.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

Was this page helpful? Let us know how we did:

Send feedback about...

Resource Manager