Stops Airflow CLI command execution.
HTTP request
POST https://composer.googleapis.com/v1/{environment=projects/*/locations/*/environments/*}:stopAirflowCommand
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| environment | 
 The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". Authorization requires the following IAM permission on the specified resource  
 | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "executionId": string, "pod": string, "podNamespace": string, "force": boolean } | 
| Fields | |
|---|---|
| executionId | 
 The unique ID of the command execution. | 
| pod | 
 The name of the pod where the command is executed. | 
| podNamespace | 
 The namespace of the pod where the command is executed. | 
| force | 
 If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup. | 
Response body
Response to StopAirflowCommandRequest.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "isDone": boolean, "output": [ string ] } | 
| Fields | |
|---|---|
| isDone | 
 Whether the execution is still running. | 
| output[] | 
 Output message from stopping execution request. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.