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.eyJzdWIiOiIxODk3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjMwLCJleHAiOjE3NTU4NTgyMzAsImp0aSI6ImU1ZjQxYzM0LTQ5NDktNDZmMi1iY2M2LTEyYzQwOGU0ZDliZCJ9.Wbu85qk1PtU6P87kZKjxwHjNrEhsZOIY5rdI6K-ZLg0
Host: example.org
Cookie: 

Body

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

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/"1c25e3450c6e72262d084d61dbfcd002"
cache-control: max-age=0, private, must-revalidate
x-request-id: df4c2014-8d88-4b7b-b22d-42b3ad925221
x-runtime: 0.010407
content-length: 464

Body

{
  "record": {
    "name": "cv",
    "record": {
      "updated_at": "2025-07-23T10:23:50.169Z",
      "id": 719,
      "postcode": "NG1 1AA",
      "created_at": "2025-07-23T10:23:50.121Z",
      "licenses": [
        "ce",
        "d1e"
      ],
      "bio": "Capto denuncio dedecor. Damno virga commodi.",
      "english_level": "intermediate",
      "verified_at": "2025-07-23T10:23:50.120Z",
      "latitude": 40.7143528,
      "longitude": -74.0059731,
      "region": null,
      "birth_date": "1989-09-12",
      "start_date": "2022-07-22",
      "contact_phone_number": "07740 077496",
      "discarded_at": null
    }
  }
}