Per offrire ai creator di moduli un maggiore controllo su chi può rispondere, stiamo introducendo controlli granulari per gli utenti che possono rispondere. I moduli creati con l'API dopo il 31 gennaio 2026 avranno uno stato non pubblicato per impostazione predefinita. Per scoprire di più, consulta la pagina
Modifiche all'API di Moduli Google.
Method: forms.watches.delete
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[],["To delete a watch, send a `DELETE` request to `https://forms.googleapis.com/v1/forms/{formId}/watches/{watchId}`, specifying the `formId` and `watchId` as path parameters. The request body must be empty. A successful operation returns an empty JSON object. Authorization requires one of several specified OAuth scopes, including those related to drive and form read and write access.\n"],null,["# Method: forms.watches.delete\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\nDelete a watch.\n\n### HTTP request\n\n`DELETE https://forms.googleapis.com/v1/forms/{formId}/watches/{watchId}`\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 delete. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\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)."]]