API Reference
Search…
Delete a document
delete
https://api.complycube.com
/v1/documents/:id
Delete a document

Example request

cURL
Node.js
Python
PHP
.NET
curl -X DELETE https://api.complycube.com/v1/documents/{:documentId} \
-H 'Authorization: <YOUR_API_KEY>'
const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
await complycube.document.delete("DOCUMENT_ID");
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR API KEY>')
cc_api.documents.delete('DOCUMENT_ID')
use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$ccapi->documents()->delete('DOCUMENT_ID');
using ComplyCube.Net;
using ComplyCube.Net.Resources.Documents;
var docApi = new DocumentApi(new ComplyCubeClient("<YOUR_API_KEY>"));
await docApi.DeleteAsync("DOCUMENT_ID");