Jobs > Drivers

Remove driver from job

DELETE remove driver from job

Endpoint

DELETE /api/v1/jobs/:job_id/job_drivers/:id

Request

Route

DELETE /api/v1/jobs/342/job_drivers/363

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjAyIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTc4LCJleHAiOjE3NDAxNDM1NzgsImp0aSI6IjBkMDY2MDdhLWE0YWMtNDUyYS1hY2Q4LTBjMjFjZDkzY2JiNSJ9.h3uvZ-hOrjkbK8YI2iF3-MGi_EknvtFoqADDk7JGDx4
Host: example.org
Cookie: 

Body

{
}

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/"935e283ab94104320234063667e44e12"
cache-control: max-age=0, private, must-revalidate
x-request-id: 37d9f3df-1391-4bf1-b84c-aa1c2b1c9e40
x-runtime: 0.013211
content-length: 193

Body

{
  "job_driver": {
    "id": 363,
    "driver": {
      "id": 1200,
      "first_name": "Lazaro",
      "last_name": "McLaughlin",
      "profile_id": 554,
      "referral_code": "538916"
    },
    "kind": "accepted",
    "updated_at": "2025-01-22T13:12:58.134Z"
  }
}