Trash Verification

Trash Verification

Moves a DOC Verify document to the trash. Documents in the trash can be restored or permanently deleted via API. Use this endpoint to soft-delete a verification document by its unique identifier.


HTTP Method and URL

DELETE {{host}}/api/v2/verifications/:uuid/trash?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): The unique identifier of the verification document. Use the variable {{verification_uuid}}.

  • user_type (query): Must be set to ENTERPRISE_API.


Request Body

This request does not require a body.


Example Request

DELETE {{host}}/api/v2/verifications/{{verification_uuid}}/trash?user_type=ENTERPRISE_API
user-token: <your_token>

Example Successful Response

{
  "status": "success",
  "message": "Verification document moved to trash."
}

Error Responses

  • 404 Not Found: Document with the specified UUID does not exist.

  • 401 Unauthorized: Authentication token is missing or invalid.

  • 400 Bad Request: Invalid parameters provided.


Usage Notes

  • Documents in the trash can be restored or permanently deleted using other API endpoints.

  • Ensure you have the correct permissions to perform this operation.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Query Params
string
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!