Method: organizations.environments.sharedflows.revisions.deployments.undeploy

Undeploys a shared flow revision from an environment.

For a request path organizations/{org}/environments/{env}/sharedflows/{sf}/revisions/{rev}/deployments, two permissions are required:

  • apigee.deployments.delete on the resource organizations/{org}/environments/{env}
  • apigee.sharedflowrevisions.undeploy on the resource organizations/{org}/sharedflows/{sf}/revisions/{rev}

HTTP request

DELETE https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/sharedflows/*/revisions/*}/deployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the shared flow revision to undeploy in the following format: organizations/{org}/environments/{env}/sharedflows/{sharedflow}/revisions/{rev}

If the shared flow resource has the space attribute set, IAM permissions are checked differently . To learn more, read the Apigee Spaces Overview.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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