Delete Uploaded Document
If required, use this DELETE method to delete a previously uploaded document from an application field.
application
Identifier of the application. String starting with app_.
section_index
The section in the application.
field_index
The field type identifier.
file_token
The file token identifier. Value is received in the response of the Step 6: Upload Document method.
The response returns a SUCCESS status indicating that the document was deleted.
INVALID_FIELDS:INVALID_FIELDS - [APP_TOKEN] - The request attempted an operation on an application, but the application was not found. The request was rejected. Corrective action: Use the ID of a valid application.
INVALID_FIELDS:INVALID_FIELDS - [SECTION_TOKEN OR SECTION_INDEX] - The request attempted an operation on an application, but the application was not found. The request was rejected. Corrective action: Use the ID of a valid application.
INVALID_FIELDS:INVALID_FIELDS - [FIELD_TOKEN OR FIELD_INDEX] - The request attempted an operation on an application, but the application was not found. The request was rejected. Corrective action: Use the ID of a valid application.
INVALID_FIELDS:INVALID_FIELDS - [FILE_TOKEN] - The request attempted an operation on an application, but the application was not found. The request was rejected. Corrective action: Use the ID of a valid application.
{base_uri}/verify/api/applications/status/:app_token
Delete Document
curl -X DELETE {base_uri}/verify/api/applications/applications/documents -H 'access_key: your-access-key-here' -H 'Content-Type: application/json' -H 'idempotency: your-idempotency-parameter-here' -H 'salt: your-random-string-here' -H 'signature: your-calculated-signature-here' -H 'timestamp: your-unix-timestamp-here' -H 'api_timestamp: your-unix-timestamp-here' -d ' { "application_token": "app_2ba941d39a1b40ceb67842460d9cc6c8", "field_index": "id_img", "section_index": "AU", "file_token": "file_2375aa0de0374f6086123d82cce792b7" } '
{ "status": { "error_code": "", "status": "SUCCESS", "message": "", "response_code": "", "operation_id": "4fbbd979-6f3a-4cc5-ab1f-ca1726a0d5bb" } }