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.
POST https://composer.googleapis.com/v1beta1/{name=projects/*/locations/*/environments/*}:restartWebServer
Required. The resource name of the environment to restart the web server for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"
Authorization requires the following IAM permission on the specified resource name:
composer.environments.update
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
[[["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 document describes how to restart an Airflow web server using a POST request to the Google Cloud Composer API."],["The request requires a specific URL structure using gRPC Transcoding, including the project, location, and environment IDs."],["Authorization for this request requires the `composer.environments.update` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["The request body for restarting the Airflow web server must be empty."],["A successful request returns an `Operation` instance within the response body."]]],[]]