API Reference
Search…
API Reference
v1.7.3
Introduction
Integration
Sandbox and Live
Authentication
Rate Limits
Service Quota
Errors
Pagination
Filtering
Versioning
Core resources
Clients
Addresses
Documents
Create a document
Get a document
Update a document
Upload image attachment
Download image attachment
Delete image attachment
Delete a document
List documents
Filtering documents
Live Photos
Live Videos
Checks
Risk Profile
Check types
AML Screening Check
Document Check
Identity Check
Enhanced Identity Check
Proof of Address Check
Multi-Bureau Check
Face Authentication Check
Lookups
Company Search
Address Search
Tools
Custom Lists
Static Data
Screening Lists
Supported Documents
Other Resources
Flow (Hosted Solution)
Webhooks
SDK Tokens
Autofill
Reports
Team Members
Audit Logs
Account Info
Powered By
GitBook
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"
);
Previous
Delete image attachment
Next
List documents
Last modified
9mo ago
Copy link
Outline
delete
Delete a document
Example request