On September 15, 2026, all Cloud Composer 1 versions and versions 2.0.x of Cloud Composer 2 will reach their planned end of life. You will not be able to use environments with these versions. We recommend planning migration to Cloud Composer 3. Cloud Composer 2 versions 2.1.x and later are still supported and are not impacted by this change.
[[["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."],[[["\u003cp\u003eThis endpoint stops an Airflow CLI command execution via a POST request to a specific Google Cloud Composer environment.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a resource name for the environment, specified in the \u003ccode\u003eenvironment\u003c/code\u003e path parameter, along with the \u003ccode\u003ecomposer.environments.executeAirflowCommand\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be a JSON object containing \u003ccode\u003eexecutionId\u003c/code\u003e, \u003ccode\u003epod\u003c/code\u003e, \u003ccode\u003epodNamespace\u003c/code\u003e, and an optional \u003ccode\u003eforce\u003c/code\u003e boolean to dictate a forceful termination or graceful shutdown.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns a JSON response indicating if the execution is still running (\u003ccode\u003eisDone\u003c/code\u003e) and may include output messages from the stop request.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.environments.stopAirflowCommand\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.StopAirflowCommandResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nStops Airflow CLI command execution.\n\n### HTTP request\n\n`POST https://composer.googleapis.com/v1/{environment=projects/*/locations/*/environments/*}:stopAirflowCommand`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nResponse to StopAirflowCommandRequest.\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`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]