Cancel/terminate a task
Body is optional. Max body 1 MiB.
DELETE /tasks/{id}
Parameters
Section titled “Parameters”id(path, string, required) — Task id.X-Pinecone-Api-Version(header, string) — Date-based contract version, echoed back on the same header. Omit for the default (2026-07); sendunstablefor the in-development surface. An unrecognized value is rejected with400 unsupported_api_version.
Request body
Section titled “Request body”reason(body, string) — Why the task is being terminated, recorded on the row.target(body, string) — Which part of the task to terminate. Defaults to the whole task.pinecone_api_key(body, string) — Task-token override; normally not needed.user_token(body, string) — Caller-token override; normally not needed.
Responses
Section titled “Responses”200— Termination enqueued (empty body)404— Not found504— Task did not terminate in time