Method: entities.batchRemove

Full name: projects.locations.instances.watchlists.entities.batchRemove

Removes entities in batch in the given watchlist.

HTTP request


POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/entities:batchRemove

Path parameters

Parameters
parent

string

Required. The parent resource shared by all entities being removed. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist} If this is set, the name field in the RemoveWatchlistEntityRequest messages must match this field.

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (RemoveWatchlistEntityRequest)
    }
  ]
}
Fields
requests[]

object (RemoveWatchlistEntityRequest)

Required. The request message specifying the entities to add.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • chronicle.entities.batchDelete

For more information, see the IAM documentation.

RemoveWatchlistEntityRequest

Request message for removing entity.

JSON representation
{
  "name": string
}
Fields
name

string

Required. The name of the entity to remove. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}/entities/{entity}