Method: organizations.securityProfiles.environments.create

environments.create creates profile environment association i.e. attaches environment to security profile.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of organization and security profile ID. Format: organizations/{org}/securityProfiles/{profile}

Request body

The request body contains an instance of SecurityProfileEnvironmentAssociation.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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