Remove a Document

Delete a document. You can only delete documents with an Identity Verification (IDV) status of UNVERIFIED. Deleted documents cannot be retrieved.

Endpoint

DELETE /v1/documents/{documentId}

Authorization Header

Authorization: Bearer <access_token>

Path Parameters

documentId  REQUIRED

string

Semantic ID of the document (example: driving-license).

Note  Use the List Document Types API to retrieve a list of semantic IDs.

Request Body

None

Returns

If successful, returns 204 The document was successfully deleted.

SAMPLE RESPONSE

				
					{
  204 The document was successfully deleted.
}
				
			
Exit mobile version