Delete a specific document uploaded by the user
Note : Deletion of document is only allowed if current kyc status is pending
Response
Response Attributes
successboolean Required
Result of the delete document process
Bad Request
| Code | Description |
| :---------- | :---------- |
| invalid_model | User does not exist. Please provide a valid user identifier |
| still_in_progress_verification | The user has an ongoing check for kyc verification |
| already_completed_verification | The user has already completed the kyc verification |
Not Found
| Code | Description |
| :---------- | :---------- |
| user_not_found | User not found |
| model_not_found | Document image does not exists. Please provide a valid image identifier |
| resource_not_found | Resource not found |
Internal Server Error
| Code | Description |
| :---------- | :---------- |
| generic_error | General Error |