Method: organizations.apis.revisions.updateApiProxyRevision

Updates an existing API proxy revision by uploading the API proxy configuration bundle as a zip file from your local machine.

You can update only API proxy revisions that have never been deployed. After deployment, an API proxy revision becomes immutable, even if it is undeployed.

Set the Content-Type header to either multipart/form-data or application/octet-stream.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. API proxy revision to update in the following format: organizations/{organizationId}/apis/{apiId}/revisions/{revision_id}

Query parameters

Parameters
validate

boolean

Ignored. All uploads are validated regardless of the value of this field. Maintained for compatibility with Apigee Edge API.

Request body

The request body contains an instance of HttpBody.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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