Delete document
Mon, 12 Apr, 2021
You can move the document present in your document page listing to trash using this API. Refer the below code snippet for the same:
C#CURL
// This is an example document id, add your own document id upon usage.
var documentId = "949ebf20-45a8-4a3e-91a9-68e9540e0020";
this.DocumentClient.DeleteDocument(documentId);
curl -X DELETE 'https://api.boldsign.com/v1/document/delete?documentId=949ebf20-45a8-4a3e-91a9-68e9540e0020' \
-H 'accept: */*' \
-H 'Authorization: Bearer <authtoken>'
Please note that this operation can only be performed to the document which are not “In-Progress” status.