Anvesh
API ReferenceAutomation

Stop a specific task

Send a stop signal to a specific automation task by its ID.

POST
/automation/tasks/{task_id}/stop

Path Parameters

task_id*string

The unique task ID to stop

Header Parameters

X-API-Key*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:8000/automation/tasks/string/stop" \  -H "X-API-Key: string"
{
  "data": {
    "id": 1,
    "name": "Example"
  },
  "error": false,
  "message": "Operation completed successfully",
  "success": true
}
{
  "data": {
    "errors": [
      "field -> error message"
    ]
  },
  "error": true,
  "message": "Validation error",
  "success": false
}
{
  "data": {
    "errors": [
      "field -> error message"
    ]
  },
  "error": true,
  "message": "Validation error",
  "success": false
}
{
  "data": {
    "errors": [
      "field -> error message"
    ]
  },
  "error": true,
  "message": "Validation error",
  "success": false
}
{
  "data": {
    "errors": [
      "field -> error message"
    ]
  },
  "error": true,
  "message": "Validation error",
  "success": false
}
{
  "data": {
    "errors": [
      "field -> error message"
    ]
  },
  "error": true,
  "message": "Validation error",
  "success": false
}
{
  "data": {
    "errors": [
      "field -> error message"
    ]
  },
  "error": true,
  "message": "Validation error",
  "success": false
}