Skip to content
Get started

Delete a task

DELETE/api/promptly/tasks/{taskId}

Delete a task and all its run history

Path ParametersExpand Collapse
taskId: string
formatuuid
ReturnsExpand Collapse
success: optional boolean

Delete a task

curl https://0ct.com/api/promptly/tasks/$TASK_ID \
    -X DELETE \
    -H "Authorization: Bearer $0CT_API_KEY"
{
  "success": true
}
Returns Examples
{
  "success": true
}