From ad35bb2f097924bb045660eca3a98c3bed957ca5 Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Thu, 30 Jul 2026 19:33:55 -0500 Subject: [PATCH] docs(tasks): document account_id on DELETE /api/tasks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DELETE is the only task verb whose request schema lacks account_id — GET, POST and PATCH all accept the org/admin account context. This is the contract half of chat#1918; api follows. chat#1918 --- api-reference/openapi/releases.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api-reference/openapi/releases.json b/api-reference/openapi/releases.json index 2d608a8..87002ee 100644 --- a/api-reference/openapi/releases.json +++ b/api-reference/openapi/releases.json @@ -3479,6 +3479,12 @@ "format": "uuid", "description": "UUID of the task to delete", "example": "aade2bce-55c7-468e-a606-c4e76fb2ea2a" + }, + "account_id": { + "type": "string", + "format": "uuid", + "description": "UUID of the account to delete the task for. Only applicable when the authenticated account has access to multiple accounts via organization membership. If not provided, the task is deleted for the API key's own account.", + "example": "848cd58d-700f-4b38-ab4c-d9f52a1b2c3d" } } },