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.eyJzdWIiOiIxODc2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDc5LCJleHAiOjE3NjM1NDI0NzksImp0aSI6ImRkNzhhNjhhLTRhZTAtNDQxMC05ZjJmLWVkOTU5ZjdkYjMzZiJ9.eLcPbqqnU_cA6aJE6tanMZkPsFkN_Jgdj7VURqVlvxk
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/"1f4473d38582f04dd21f385f420b496c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1b681b59-84ae-402d-8afe-728ad304d2b0
x-runtime: 0.009858
content-length: 457

Body

{
  "record": {
    "name": "cv",
    "record": {
      "updated_at": "2025-10-20T08:54:39.869Z",
      "id": 714,
      "postcode": "B1 1AA",
      "created_at": "2025-10-20T08:54:39.835Z",
      "licenses": [
        "adr",
        "hiab"
      ],
      "bio": "Custodia et optio. Spero turpis deporto.",
      "english_level": "advanced",
      "verified_at": "2025-10-20T08:54:39.834Z",
      "latitude": 40.7143528,
      "longitude": -74.0059731,
      "region": null,
      "birth_date": "1993-01-26",
      "start_date": "2021-10-29",
      "contact_phone_number": "07764 724172",
      "discarded_at": null
    }
  }
}