---
title: "Unlink a document from a customer."
method: DELETE
path: "/v1/customers/{customer_id}/documents/{document_id}"
tags: ["Customers"]
---

# Unlink a document from a customer.

`DELETE /v1/customers/{customer_id}/documents/{document_id}`

Unlink a document from a customer.
A document belonging to a USD onboarded customer cannot be unlinked from the customer.

## Path parameters

- `customer_id` string, uuid, required
- `document_id` string, uuid, required

## Response `204`

Document successfully unlinked from customer

## Other responses

- `400` — Invalid request
- `401` — Authentication error
- `500` — Internal server error

---

[API](https://skmtc.dev/lorum/apis/auth-api.md) · [All operations](https://skmtc.dev/lorum/apis/auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lorum/auth-api/revisions/f9b8935027e3/schema)
