Method: organizations.sharedflows.revisions.updateSharedFlowRevision

Updates a shared flow revision. This operation is only allowed on revisions which have never been deployed. After deployment a revision becomes immutable, even if it becomes undeployed.

The payload is a ZIP-formatted shared flow. Content type must be either multipart/form-data or application/octet-stream.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the shared flow revision to update. Must be of the form: organizations/{organizationId}/sharedflows/{sharedFlowId}/revisions/{revisionId}

Authorization requires the following IAM permission on the specified resource name:

  • apigee.sharedflowrevisions.update

Query parameters

Parameters
validate

boolean

Ignored. All uploads are validated regardless of the value of this field. It is kept for compatibility with existing APIs. Must be true or false if provided.

Request body

The request body contains an instance of HttpBody.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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