Reject job driver
Jobs > Drivers
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/352/job_drivers/372/reject
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjQwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjA0LCJleHAiOjE3NTU4NTgyMDQsImp0aSI6ImNkMzFjNTRhLTEyZDktNGUwMC1iMzFhLWFhZThiMzlmNWU1MiJ9.qvlsa_ufV9i4SruRm5hZH3Ta4ge7j4cdqvGi-f0yKts
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/"17aead934221ed260ae3d4a1be52e47f"
cache-control: max-age=0, private, must-revalidate
x-request-id: e65f0d0c-5a10-4155-9968-67eef6c8681a
x-runtime: 0.046420
content-length: 188
Body
{
"job_driver": {
"id": 372,
"driver": {
"id": 1239,
"first_name": "Carlos",
"last_name": "Moore",
"profile_id": 566,
"referral_code": "727880"
},
"kind": "rejected",
"updated_at": "2025-07-23T10:23:24.881Z"
}
}