Users > Profile

Update current driver’s profile.

PUT update profile (additional)

Endpoint

PUT /api/v1/users/profile

Parameters

Name Description
profile[bio] Profile bio
profile[licenses] Profile licenses
profile[skill_ids] Profile skill ids

Request

Route

PUT /api/v1/users/profile

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTIxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDE1LCJleHAiOjE3NjYyMTg0MTUsImp0aSI6ImUyZjFkMzgxLWY1MzgtNGMxYy05YmEwLTZjZGZjNWY0M2RiYyJ9.dtjHCA67TuOw1LE9axEmT0rIYcP871U9lm2nn8QcM-0
Host: example.org
Cookie: 

Body

{
  "profile": {
    "bio": "Numquam veritatis voluptas. Earum magnam vitae. Quo doloremque magni.",
    "licenses": [
      "d",
      "adr",
      "b1",
      "hiab"
    ]
  }
}

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/"3a5658f442d19c151f3d9a16018040b0"
cache-control: max-age=0, private, must-revalidate
x-request-id: b7c79ea0-7b4c-4520-b203-477a8e45d4c0
x-runtime: 0.014795
content-length: 1164

Body

{
  "profile": {
    "id": 733,
    "activities": [

    ],
    "bio": "Numquam veritatis voluptas. Earum magnam vitae. Quo doloremque magni.",
    "birth_date": "1983-04-28",
    "child_safeguard_training": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "compliance_documents": [
      "dbs",
      "tacho",
      "enchanced_dbs",
      "cpc",
      "medical_check",
      "child_safeguard_training"
    ],
    "contact_phone_number": "07537 644376",
    "cpc": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "cv": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "dbs": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "documents": [

    ],
    "driving_license": [

    ],
    "email": "lucie.bashirian+driver@example.com",
    "enchanced_dbs": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "english_level": "native",
    "experiences": [

    ],
    "first_name": "Lucie",
    "interviews": [

    ],
    "last_name": "Bashirian",
    "licenses": [
      "d",
      "adr",
      "b1",
      "hiab"
    ],
    "medical_check": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "phone_number": null,
    "postcode": "LS1 1UR",
    "reviews": [

    ],
    "start_date": "2022-10-26",
    "tacho": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    }
  }
}