# Endpoint for Drivers to Cancel a Task **POST /api/yard-task/cancel** ## Servers - GCP Development: https://api-dev.gatego.io (GCP Development) - Production: https://api.gatego.io (Production) ## Parameters ### Body: application/json (object) - **task_id** (integer(int32)) Task ID - **reason** (string) Reason ## Responses ### default Task cancelled successfully #### Body: application/json (object) object ### 401 Not Authorized ### 403 Not Allowed [Powered by Bump.sh](https://bump.sh)