Delete current driver’s document
Users > Profile
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.eyJzdWIiOiIxODY2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTU0LCJleHAiOjE3NDUwNTY5NTQsImp0aSI6Ijc0MjFjNGE1LTQ4NjUtNGM3Ny1iZTJhLTk2Y2E4OTRkOWY4YyJ9.Fh-ONlbCU_buQmjdQV65mp231nXf-L9a9qDJfmb9O8g
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/"6113e9423809edc218e59c943d184387"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2993cc0e-e8a1-4ef8-9828-58dc35e1a743
x-runtime: 0.010102
content-length: 453
Body
{
"record": {
"name": "cv",
"record": {
"updated_at": "2025-03-20T10:02:34.777Z",
"id": 712,
"postcode": "M1 1AE",
"created_at": "2025-03-20T10:02:34.736Z",
"licenses": [
"b1",
"b"
],
"bio": "Teres similique quod. In commodi comminor.",
"english_level": "native",
"verified_at": "2025-03-20T10:02:34.735Z",
"latitude": 40.7143528,
"longitude": -74.0059731,
"region": null,
"birth_date": "1991-11-21",
"start_date": "2022-01-03",
"contact_phone_number": "07426 810732",
"discarded_at": null
}
}
}