Full name: projects.locations.instances.watchlists.delete
Deletes the watchlist for the given instance.
HTTP request
Path parameters
Parameters
name
string
Required. The name of the watchlist to delete. Format: projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}
Query parameters
Parameters
force
boolean
Optional. If set to true, any entities under this watchlist will also be deleted. (Otherwise, the request will only work if the watchlist has no entities.)
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis webpage documents how to delete a watchlist associated with a specific instance using the \u003ccode\u003eprojects.locations.instances.watchlists.delete\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eThe deletion process requires a \u003ccode\u003eDELETE\u003c/code\u003e HTTP request to the specified URL, including the watchlist's name in the path.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eforce\u003c/code\u003e query parameter allows the deletion of any entities within the watchlist if set to true, otherwise watchlist must be empty.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty and a successful response is an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a watchlist requires the \u003ccode\u003echronicle.watchlists.delete\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]