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.eyJzdWIiOiIxOTE3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzMDIyMjM2LCJleHAiOjE3NjU2MTQyMzYsImp0aSI6IjE0MThkNDlkLTQ4ZGItNGU4ZC1iYjI1LWRlYmNhMWQxZjViMSJ9.DuJ45RlAjHXBWbHgmVhzdNleraxN6iC9VdXezjs2uTA
Host: example.org
Cookie: 

Body

{
  "profile": {
    "bio": "Voluptatem repudiandae accusamus. Voluptatem dignissimos enim. Eaque ad est.",
    "licenses": [
      "ce",
      "c1e",
      "hiab",
      "c"
    ]
  }
}

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/"94396da1cc6a2707b6f3cd1f0565ae5e"
cache-control: max-age=0, private, must-revalidate
x-request-id: c1451bd3-b43a-4d7b-a402-d70a6a04d702
x-runtime: 0.014885
content-length: 1165

Body

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

    ],
    "bio": "Voluptatem repudiandae accusamus. Voluptatem dignissimos enim. Eaque ad est.",
    "birth_date": "1989-11-15",
    "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": "07397 655069",
    "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": "dennis.walsh+driver@example.com",
    "enchanced_dbs": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "english_level": "native",
    "experiences": [

    ],
    "first_name": "Dennis",
    "interviews": [

    ],
    "last_name": "Walsh",
    "licenses": [
      "ce",
      "c1e",
      "hiab",
      "c"
    ],
    "medical_check": {
      "id": null,
      "signed_id": null,
      "byte_size": null,
      "filename": "",
      "url": null
    },
    "phone_number": null,
    "postcode": "BS1 1AA",
    "reviews": [

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