Jobs > Drivers

Reject job driver

POST reject job driver(admin)

Endpoint

POST /api/v1/jobs/:job_id/job_drivers/:id/reject

Parameters

Name Description
job_driver[reason] required Rejection reason

Request

Route

POST /api/v1/jobs/350/job_drivers/371/reject

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjMxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTM1LCJleHAiOjE3NDUwNTY5MzUsImp0aSI6IjM1ZDNkOGE5LTM3YjItNGM5ZS04MmM3LTFhZWM5NDdkOThhZSJ9.o0SMNke-KuhSiRWkOXXtK4t6FzAdHc3cacdW8KiA3oQ
Host: example.org
Cookie: 

Body

{
  "job_driver": {
    "ignore_reason": "Driver has no experience"
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"46f92009f6df42bac215add53c2d12a5"
cache-control: max-age=0, private, must-revalidate
x-request-id: a026e234-a5d7-4df0-8b39-93caa28f06c2
x-runtime: 0.038942
content-length: 190

Body

{
  "job_driver": {
    "id": 371,
    "driver": {
      "id": 1230,
      "first_name": "Sammie",
      "last_name": "Lockman",
      "profile_id": 563,
      "referral_code": "456328"
    },
    "kind": "rejected",
    "updated_at": "2025-03-20T10:02:15.663Z"
  }
}