Generates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/archiveDeployments/*}:generateDownloadUrl
[[["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-08-28 UTC."],[[["\u003cp\u003eThis endpoint generates a time-limited, signed URL for downloading an Archive Deployment's original zip file.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method is \u003ccode\u003ePOST\u003c/code\u003e, and the request URL includes a path parameter \u003ccode\u003ename\u003c/code\u003e specifying the Archive Deployment to download.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the response body will contain a \u003ccode\u003edownloadUri\u003c/code\u003e field with the signed URL to be used to retrieve the zip file.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003eapigee.archivedeployments.download\u003c/code\u003e IAM permission, and the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.environments.archiveDeployments.generateDownloadUrl\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.GenerateDownloadUrlResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGenerates a signed URL for downloading the original zip file used to create an Archive Deployment. The URL is only valid for a limited period and should be used within minutes after generation. Each call returns a new upload URL.\n\n### HTTP request\n\n`POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/archiveDeployments/*}:generateDownloadUrl`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse for archiveDeployments.generateDownloadUrl method.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]