---
title: "Delete Uploaded Document"
source_url: https://docs.rapyd.net/en/delete-uploaded-document.html
lang: en
---

# Delete Uploaded Document

If required, use this DELETE method to delete a previously uploaded document from an application field.

### Parameters

### Request Header Parameters

- - access_key
  - Unique access key provided by Rapyd for each authorized user.

    See [Developers](https://docs.rapyd.net/en/developers.md "Developers").
- - Content-Type
  - Indicates that the data appears in JSON format. Set to **application/json**.
- - idempotency
  - A unique key that prevents the platform from creating the same object twice.

    See [Idempotency](https://docs.rapyd.net/en/idempotency.md "Idempotency").
- - salt
  - Random string. Recommended length: 8-16 characters.
- - signature
  - Signature calculated for each request individually.

    See [Request Signatures](https://docs.rapyd.net/en/request-signatures.md "Request Signatures").
- - timestamp
  - Timestamp for the request, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time") (seconds).
- - api_timestamp
  - Timestamp for the request, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time") (seconds).

### Request Body Parameters

- - 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](https://docs.rapyd.net/en/step-6--upload-document.md "Step 6: Upload Document") method.

### Response

The response returns a SUCCESS status indicating that the document was deleted.

### Error Messages

- 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.

- /v1/verify/api/applications/documents

- Delete Document
- ```curl
  curl -X DELETE {base_uri}/verify/api/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"
  }
  '
  ```
- ```json
  {
      "status": {
          "error_code": "",
          "status": "SUCCESS",
          "message": "",
          "response_code": "",
          "operation_id": "4fbbd979-6f3a-4cc5-ab1f-ca1726a0d5bb"
      }
  }
  ```
