Full name: projects.locations.instances.legacyPlaybooks.legacyTerminateWorkflowInstance
Immediately stops the execution of an in-progress playbook instance. Use this method to manually halt automation that is no longer required or is performing unexpectedly.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPlaybooks:legacyTerminateWorkflowInstance Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance to terminate the workflow for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "workflowInstanceId": string } |
| Fields | |
|---|---|
workflowInstanceId |
Required. The workflow instance id to terminate. Format: projects/{project}/locations/{location}/instances/{instance}/workflows/{workflow} |
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.legacyPlaybooks.update
For more information, see the IAM documentation.