Se uma execução estiver suspensa devido a uma tarefa de aprovação ou a um problema técnico, você poderá cancelar a execução. É possível cancelar uma execução de integração se ela estiver em um dos seguintes estados de execução:
Suspenso
Em espera
Tentar novamente em espera
Cancelar uma execução
Para cancelar uma execução, selecione uma das seguintes opções:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-25 UTC."],[[["\u003cp\u003eYou can cancel integration executions that are in a Suspended, On hold, or Retry on hold state through the Application Integration console or API.\u003c/p\u003e\n"],["\u003cp\u003eThe cancel execution feature is currently a Pre-GA offering, which means it is available "as is" and may have limited support.\u003c/p\u003e\n"],["\u003cp\u003eTo cancel an execution via the console, navigate to the Logs page, select the desired execution, and use the 'Cancel' option, providing a reason for cancellation.\u003c/p\u003e\n"],["\u003cp\u003eCanceling executions triggered by a Schedule trigger is not supported, and executions in In process, Succeeded, Failed, or Canceled states cannot be canceled.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eprojects.locations.integrations.executions.cancel\u003c/code\u003e API method allows for execution cancellations by providing the project ID, region, integration name, and execution ID.\u003c/p\u003e\n"]]],[],null,["# Cancel executions\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nCancel executions\n=================\n\nIf you have an execution that is suspended due to an approval task or a technical issue, you can choose to cancel the execution. You can cancel an integration execution if the integration is in one of the following [execution states](/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions#state):\n\n- **Suspended**\n- **On hold**\n- **Retry on hold**\n\nCancel an execution\n-------------------\n\nTo cancel an execution, select one of the following options:\n\n### Console\n\n1. In **Application Integration** , go to the **Logs** page.\n\n [Go to Application Integration Logs](https://console.cloud.google.com/integrations/logs)\n2. In the navigation menu, click **Logs** . The **Execution Logs** page appears.\n3. For the execution that you want to cancel, click **more_vert** and then **cancel Cancel** . The **Cancel execution** pane appears.\n4. Add the reason to replay the execution.\n5. Click **Cancel Execution**.\n\n### API\n\nCall the [`projects.locations.integrations.executions.cancel` method](/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions/cancel) and provide the ID of the execution that you want to cancel: \n\n```\ncurl -X POST https://integrations.googleapis.com/v1/projects/PROJECT_ID/locations/REGION/integrations/INTEGRATION_NAME/executions/EXECUTION_ID:cancel -H \"Authorization: Bearer $TOKEN\"\n```\n\nLimitations\n-----------\n\nCancel execution is subject to the following limitations:\n\n- Canceling an execution that is triggered by a [Schedule trigger](/application-integration/docs/configure-schedule-trigger) isn't supported.\n- You can't cancel an integration execution if the integration is in one of the following states:\n - **In process**\n - **Succeeded**\n - **Failed**\n - **Canceled**\n\nWhat's next\n-----------\n\n- Learn about [logs in Application Integration](/application-integration/docs/introduction-logs).\n- Learn how to [test and publish integrations](/application-integration/docs/test-publish-integrations)."]]