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.eyJzdWIiOiIxODkwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTQxLCJleHAiOjE3NTExMDg1NDEsImp0aSI6Ijg1ZGJkMGE3LTM5OTAtNDQ1Yi1hMDI4LTIwMmU4MTUzZGRjYyJ9.EdUr-wHqWCRR0d3ZxTCyKcHBZECOQnwt0eevVEa8aVE
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/"a6052d0f2ed41f9faf013eb42cc5d725"
cache-control: max-age=0, private, must-revalidate
x-request-id: ca5ab2ed-75d6-4fb3-992f-efebcb03a9a0
x-runtime: 0.012293
content-length: 463

Body

{
  "record": {
    "name": "cv",
    "record": {
      "updated_at": "2025-05-29T11:02:21.574Z",
      "id": 716,
      "postcode": "LS1 1UR",
      "created_at": "2025-05-29T11:02:21.534Z",
      "licenses": [
        "b",
        "adr"
      ],
      "bio": "Labore nam repudiandae. Tolero accusator magnam.",
      "english_level": "beginner",
      "verified_at": "2025-05-29T11:02:21.533Z",
      "latitude": 40.7143528,
      "longitude": -74.0059731,
      "region": null,
      "birth_date": "1981-12-02",
      "start_date": "2021-07-27",
      "contact_phone_number": "07561 948022",
      "discarded_at": null
    }
  }
}