Method: watchlists.create

Full name: projects.locations.instances.watchlists.create

Creates a watchlist for the given instance. Note that there can be at most 200 watchlists per instance.

HTTP request


Path parameters

Parameters
parent

string

Required. The parent resource where this watchlist will be created. Format: projects/{project}/locations/{location}/instances/{instance}

Query parameters

Parameters
watchlistId

string

Optional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Request body

The request body contains an instance of Watchlist.

Response body

If successful, the response body contains a newly created instance of Watchlist.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • chronicle.watchlists.create

For more information, see the IAM documentation.