---
title: "Delete a document"
method: DELETE
path: "/transact-workflow/v1/users/{userId}/documents/{documentId}"
tags: ["Documents"]
---

# Delete a document

`DELETE /transact-workflow/v1/users/{userId}/documents/{documentId}`

## Request

- Base URL: `https://api.lwolf.com`
- URL: `https://api.lwolf.com/transact-workflow/v1/users/{userId}/documents/{documentId}`
- Auth: HTTP bearer and API key in header `lw-subscription-key`

Deletes the specified document.

## Path parameters

- `userId` string, uuid, required
- `documentId` string, uuid, required

## Response `204`

Document deleted.

## Other responses

- `400`: The request is malformed or contains invalid parameters.
- `401`: The access token is missing, invalid, or expired.
- `403`: The caller is not permitted to perform this operation.
- `404`: The requested resource does not exist.

---

[API](https://skmtc.dev/lwolf/apis/transact-api.md) · [All operations](https://skmtc.dev/lwolf/apis/transact-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lwolf/apis/transact-api/revisions/9688b0ba3cbc?raw)
