Sometimes, you'd want to delete notary request process. This endpoint would allow you to delete all notary transaction for that particular document.
| Method | URI | Headers | Example |
|---|---|---|---|
| GET | /business/document/delete/{document_uuid} |
'Bearer {api_token}' | Bearer ljbVhIAhdrJLHvrSqzb6dzblvd78wGs5LGyB |
{success} If the API has been authenticated and the document id has been.
{info} Possible responses are
success,unauthenticatedorfail.
200{
"success": true,
"message": "was successfully deleted and associated signers were also removed."
}
{danger} Error response Unauthenticated
Please check your API Key.
401{
"error": true,
"message": "Invalid token"
}
{danger} Error response Document Not found
Please check your API Key.
422{
"error": true,
"message": "Document ID not found / Document has already been notarized"
}
$client = new Client();
$api_key = 'api_key';
$url = 'https://production.onlinenotary.net/api/v1/business/document/delete/{document_uuid}';
$response = $client->request('GET', $url ,
['auth' => [
null,
$api_key
],
]);