DELETE /public/v1/documents
Delete multiple documents in one request by sending a JSON array. Each element must be an object with an id field (the document ID, same value as elsewhere in the Documents API).
The caller must have permission to delete each document. Documents must belong to the authenticated workspace.
This batch operation returns 200 OK with a JSON body containing an id array of deleted document IDs. That differs from Delete Document (DELETE /public/v1/documents/{id}), which returns 204 No Content for a single document.
Servers
- https://api.pandadoc.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
[] |
Array | Yes | |
[].id |
String | Yes |
Document ID to delete. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.