Damit die Ersteller von Formularen mehr Kontrolle darüber haben, wer sie ausfüllen darf, führen wir detaillierte Einstellungen für Teilnehmer ein. Formulare, die nach dem 31. Januar 2026 mit der API erstellt werden, haben standardmäßig den Status „Nicht veröffentlicht“. Weitere Informationen finden Sie unter
API-Änderungen bei Google Formulare.
Method: forms.watches.renew
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],["To renew a watch, send a `POST` request to `https://forms.googleapis.com/v1/forms/{formId}/watches/{watchId}:renew`. `formId` and `watchId` are required path parameters. The request body must be empty. A successful renewal results in an `ACTIVE` watch, extending the `expireTime` by seven days. Renewals succeed if previous errors are resolved; otherwise, they fail. Expired watches yield a `NOT_FOUND` response. The response body will contain a Watch instance. Specific OAuth scopes are required for authorization.\n"],null,["# Method: forms.watches.renew\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- [Authorization scopes](#body.aspect)\n\nRenew an existing watch for seven days. The [state](/workspace/forms/api/reference/rest/v1/forms.watches#Watch.FIELDS.state) of the watch after renewal is `ACTIVE`, and the `expireTime` is seven days from the renewal. Renewing a watch in an error state (e.g. `SUSPENDED`) succeeds if the error is no longer present, but fail otherwise. After a watch has expired, watches.renew returns `NOT_FOUND`.\n\n### HTTP request\n\n`POST https://forms.googleapis.com/v1/forms/{formId}/watches/{watchId}:renew`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------|--------------------------------------------------|\n| `formId` | `string` Required. The ID of the Form. |\n| `watchId` | `string` Required. The ID of the Watch to renew. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Watch](/workspace/forms/api/reference/rest/v1/forms.watches#Watch).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/drive`\n- `\n https://www.googleapis.com/auth/drive.file`\n- `\n https://www.googleapis.com/auth/drive.readonly`\n- `\n https://www.googleapis.com/auth/forms.body`\n- `\n https://www.googleapis.com/auth/forms.body.readonly`\n- `\n https://www.googleapis.com/auth/forms.responses.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]