Users > Profile

Delete current driver’s document

DELETE document

Endpoint

DELETE /api/v1/users/profile/attachment

Parameters

Name Description Enum
profile[attachment_type] required Attachment type to remove ["cv", "dbs", "tacho", "enchanced_dbs", "cpc", "medical_check", "child_safeguard_training"]

Request

Route

DELETE /api/v1/users/profile/attachment

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTIzIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDE1LCJleHAiOjE3NjYyMTg0MTUsImp0aSI6IjhlNzRkOTE2LTEzYmEtNGFlNS1hMzAyLTkyZDE3NDRmNmEzOSJ9.rtSWOtqyB9P7nXYm-NHBLNknw3O_uJyFqT0ZQzPjcSw
Host: example.org
Cookie: 

Body

{
  "profile": {
    "attachment_type": "cv",
    "signed_id": "eyJfcmFpbHMiOnsiZGF0YSI6MzgsInB1ciI6ImJsb2JfaWQifX0=--f92ca2a37e74fe61195c9b06c4df3e2c7b504d7f"
  }
}

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/"b22c32eca18fc84d815d3e7e1885aaff"
cache-control: max-age=0, private, must-revalidate
x-request-id: 4c6f360f-c904-4bcd-b613-3acb19f38213
x-runtime: 0.012632
content-length: 460

Body

{
  "record": {
    "name": "cv",
    "record": {
      "updated_at": "2025-11-20T08:13:35.344Z",
      "id": 735,
      "postcode": "B1 1AA",
      "created_at": "2025-11-20T08:13:35.305Z",
      "licenses": [
        "phv",
        "d"
      ],
      "bio": "Dolore officia adicio. Comminor comitatus qui.",
      "english_level": "advanced",
      "verified_at": "2025-11-20T08:13:35.303Z",
      "latitude": 40.7143528,
      "longitude": -74.0059731,
      "region": null,
      "birth_date": "1977-03-05",
      "start_date": "2022-10-17",
      "contact_phone_number": "07868 320013",
      "discarded_at": null
    }
  }
}