v1

latestOpenAPI 3.1.02026-07-266827131.9 KB

Cancel Task

delete/screenplay/tasks/{task_id}

Path parameters

task_idstring required
Example:ros-sd-20260313-a3f8c2b1

The screenplay task ID to cancel

Response

Task cancelled successfully

codeinteger

Response code indicating the result status

msgstring

Response message

successboolean

Indicates whether the cancellation was successful

failedboolean

Indicates whether the cancellation failed

Example response

{
  "code": 200,
  "msg": "success",
  "data": {
    "task_id": "ros-sd-20260313-a3f8c2b1",
    "status": "cancelled"
  },
  "success": true
}