Endpoint for Drivers to Cancel a Task
POST
/api/yard-task/cancel
curl \
-X POST https://api-dev.gatego.io/api/yard-task/cancel \
-H "Content-Type: application/json" \
-d '{"task_id":1,"reason":"Reason"}'
Request examples
{
"task_id": 1,
"reason": "Reason"
}
Response examples (default)
{}