Full name: projects.locations.instances.legacyPlaybooks.legacyDeleteWorkflows
Deletes multiple playbook definitions in a single operation. Use this method for bulk removal of obsolete or redundant workflows.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPlaybooks:legacyDeleteWorkflows Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance to delete the workflows for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "identifiers": [ string ] } |
| Fields | |
|---|---|
identifiers[] |
Required. The identifiers of the workflows to delete. |
Response body
LegacyPlaybookDeleteWorkflowsResponse is a response for deleting workflows.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"results": [
{
object ( |
| Fields | |
|---|---|
results[] |
Optional. The deleted workflows. |
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.delete
For more information, see the IAM documentation.