Method: organizations.environments.create

Creates an environment in an organization.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*}/environments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the organization in which the environment will be created in the following format: organizations/{org}

Query parameters

Parameters
environmentId

string

Optional. Name of the environment. Alternatively, the name may be specified in the request body in the environmentId field.

Request body

The request body contains an instance of Environment.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

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