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 Google API HTTP annotation 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. This field is deprecated and will be removed in v1. Use name instead.

displayName

string

A friendly string to be used to refer to the Organization in the UI. Assigned by the server, set to the primary domain 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 Auth Guide.

Send feedback about...

Google Cloud Resource Manager
Google Cloud Resource Manager