Delete Files
Delete Files
/api/public/standalone/delete_files/v2
Removes version 2 or higher of the document and all e-signature request data from our systems. This will not affect the template or the original document which can only be changed from within DocEndorse.
Headers
- Content-Type:application/json
- Authorization: Bearer [user key: auth token]
Parameters
Field | Description | Format |
---|---|---|
request_id | A required property that identifies the e-signature. This is provided by the initiate edit session endpoint or from e-signature request tables. Either this or the session_editor_token must be provided. |
string |
session_editor_token | A required property that identifies the edit session. This is provided by the initiate edit session endpoint. Either this or the request_id must be provided. |
string |
include_documents | An optional porperty indicating whether we should delete all new versions of the underlying document |
boolean |
A CURL Request
curl -X DELETE https://docendorse.com/api/public/standalone/delete_files/v2 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer " \
-d '{
"request_id": "",
"include_documents": false
}'
Response
{
status: string [status of the request]
description: string [describes the result of the request]
}
Error
{
status: error,
description: error message
}