v1
latestSwagger 2.02026-07-172964242.9 KBDatabase
Cancel a database task
Cancels a running or pending task for a database.
get/v1/databases/{database_id}/tasks/{task_id}/cancel
Path parameters
database_idstring required
A user-specified identifier. Must be 1-36 characters, contain only lower-cased letters and hyphens, start and end with a letter or number, and not contain consecutive hyphens.
task_idstring required
A user-specified identifier. Must be 1-36 characters, contain only lower-cased letters and hyphens, start and end with a letter or number, and not contain consecutive hyphens.
Response
OK response.
Example response
{
"completed_at": "2025-06-18T16:52:35Z",
"created_at": "2025-06-18T16:52:05Z",
"database_id": "storefront",
"entity_id": "storefront",
"scope": "database",
"status": "completed",
"task_id": "019783f4-75f4-71e7-85a3-c9b96b345d77",
"type": "create"
}