Delete List
DELETE
/v2/lists/{id}Moves a list to Trash, restorable for 90 days, and takes its records out of it; with with_records=true the records themselves also move to Trash. Answers a list_delete job: 200 with the done job when the work ran inline, else 202 with the running job and Location: /v2/jobs/{id} (poll it after Retry-After). One bulk action runs per workspace at a time. Without an Idempotency-Key, a retry after the delete answers 404; with one, it answers the same job. Uses 1 unit of the jobs rate limit. Free: costs no credits.
Path parameters
idstringrequiredThe list id (24 hex characters).
Example:
"66f1a2b3c4d5e6f7a8b9c0d1"
Query parameters
with_recordsenumoptionaldefault: "false"truealso moves every record of the list to Trash.Allowed values:
truefalse
Responses
For error handling see Errors. The list fields are described in List object.
