Cancel Document
The Cancel Document API allows you to cancel a specific document by its unique identifier (documentUuid
). A reason for cancellation must be provided.
API URLs
Property | Value |
---|---|
Sandbox | https://malaysia-sandbox.complyance.io |
Production | https://malaysia-prod.complyance.io/ |
Endpoint | /cancelDocument |
Method | POST |
Headers
Header | Type | Description | Example | Conditionality |
---|---|---|---|---|
x-api-key | string | Your API key | 1aN3AQ8ZsggJ0UABAHXVB | Mandatory |
Content-Type | string | Set as application/json | application/json | Mandatory |
Request Body
The request body must be in JSON format.
Parameter | Type | Description | Example Value |
---|---|---|---|
documentUuid | string | The unique identifier of the document to cancel. | 6FSDTHSGTW0CFCEBKVXVB12310 |
reason | string | The reason for cancelling the document. | Testing Cancellation |
Example Request Body
{
"documentUuid": "6FSDTHSGTW0CFCEBKVXVB12310",
"reason": "Testing Cancellation"
}