On September 15, 2026, all Cloud Composer 1 and Cloud Composer 2 version 2.0.x environments will reach their planned end of life, and you will not be able to use them. We recommend planning migration to Cloud Composer 3.
Required. The Secret to delete, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"
Authorization requires the following IAM permission on the specified resource name:
composer.userworkloadssecrets.delete
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["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-06-30 UTC."],[[["This endpoint deletes a user workloads Secret in Cloud Composer environments version composer-3-airflow-\\*.\\*.\\*-build.\\* and newer."],["The HTTP request uses the DELETE method with a specific URL format incorporating gRPC Transcoding."],["The `name` path parameter is required to specify the Secret to be deleted and requires the `composer.userworkloadssecrets.delete` IAM permission."],["The request body for this operation must be empty."],["A successful operation returns an empty JSON object, and the required OAuth scope is `https://www.googleapis.com/auth/cloud-platform`."]]],[]]