Restore Verification
Restores a specific temporarily deleted document from the DOC Verify Trash back to the user’s verifiable documents list.
HTTP Method and URL
PUT {{host}}/api/v2/verifications/:uuid/restore?user_type=ENTERPRISE_API
Authentication Requirements
Requires a valid user token. Pass the token in the user-token header.
Path and Query Parameters
-
:uuid(path variable): The unique identifier of the verification/document to restore. Use{{verification_uuid}}as a variable. -
user_type(query parameter): Must be set toENTERPRISE_API.
Request Body
This endpoint does not require a request body.
Example Request
PUT {{host}}/api/v2/verifications/{{verification_uuid}}/restore?user_type=ENTERPRISE_API
user-token: <your_token>
Example Successful Response
{
"uuid": "{{verification_uuid}}",
"status": "restored",
"restored_at": "2024-06-10T12:34:56Z",
"details": {
// ...restored document details
}
}
Error Responses
-
404 Not Found: The specified verification/document does not exist or is not in the trash. -
401 Unauthorized: Authentication failed or token is missing/invalid. -
400 Bad Request: Invalid parameters or request format.
Usage Notes
-
Only documents that have been temporarily deleted (in the trash) can be restored using this endpoint.
-
Ensure the
user-tokenis valid and has the necessary permissions.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
