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.eyJzdWIiOiIxODc0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDc5LCJleHAiOjE3NjM1NDI0NzksImp0aSI6IjVjMjk2Njc1LWU5NWYtNDJiNi1iMDI1LWJiNDM5ODdlYTM2NCJ9.BeBSecZsdHO841kk8Ap7wUUYvbE2KhtJ4tjayRwZQTg
Host: example.org
Cookie: 

Body

{
  "profile": {
    "bio": "Omnis maxime et. Eos quis dolore. Consectetur doloremque molestiae.",
    "licenses": [
      "d1",
      "phv",
      "b1",
      "c1"
    ]
  }
}

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/"400a6e0186a4ac8a23d7db3657754d10"
cache-control: max-age=0, private, must-revalidate
x-request-id: ee77adf2-3e3e-48fb-8411-6d09886016f5
x-runtime: 0.015798
content-length: 1160

Body

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

    ],
    "bio": "Omnis maxime et. Eos quis dolore. Consectetur doloremque molestiae.",
    "birth_date": "1977-10-06",
    "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": "07850 345721",
    "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": "jason.parisian+driver@example.com",
    "enchanced_dbs": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "english_level": "advanced",
    "experiences": [

    ],
    "first_name": "Jason",
    "interviews": [

    ],
    "last_name": "Parisian",
    "licenses": [
      "d1",
      "phv",
      "b1",
      "c1"
    ],
    "medical_check": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "phone_number": null,
    "postcode": "L1 1AA",
    "reviews": [

    ],
    "start_date": "2021-09-12",
    "tacho": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    }
  }
}