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/*}
Required. API proxy revision to update in the following format: organizations/{org}/apis/{api}/revisions/{rev}
If the API Proxy resource has the space attribute set, IAM permissions are checked against the Space resource path. To learn more, read the Apigee Spaces Overview.
Authorization requires the following IAM permission on the specified resource name:
apigee.proxyrevisions.update
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-02 UTC."],[[["This API endpoint allows updating an existing, undeployed API proxy revision by uploading a zipped configuration bundle."],["The `name` path parameter is required, specifying the exact API proxy revision to update using the format: `organizations/{org}/apis/{api}/revisions/{rev}`."],["The request must include either `multipart/form-data` or `application/octet-stream` in the `Content-Type` header."],["The API request is a POST operation to the specified URL, following gRPC Transcoding syntax, and it involves an HttpBody in the request."],["Successful updates will return an `ApiProxyRevision` instance, and authorization requires the `apigee.proxyrevisions.update` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]