---
title: "Delete document"
method: POST
path: "/v1/delete_document"
tags: ["documents"]
---

# Delete document

`POST /v1/delete_document`

## Request

- Base URL: `https://api.trylitos.com`
- URL: `https://api.trylitos.com/v1/delete_document`
- Auth: OAuth 2 (authorization code, authorization URL `https://api.trylitos.com/oauth/authorize`, token URL `https://api.trylitos.com/oauth/token`, scopes: `account:write`)

Delete a supporting document from the account so it is no longer attached to future applications. Ask before deleting.

## Request body

- object
  - `document_id` string, uuid, required

## Response `200`

The operation's result. Shapes mirror the Litos dashboard routes they proxy.

- object

## Other responses

- `4XX`: A refusal, carrying `error` (a sentence) and usually `code`.

---

[API](https://skmtc.dev/trylitos/apis/litos-api.md) · [All operations](https://skmtc.dev/trylitos/apis/litos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trylitos/apis/litos-api/revisions/d0ae6f04b1ae?raw)
