Soft-deletes an identity document. See AIP-164.
Security
oauth2_client_credentials or oauth2_authorization_code
- Mock serverhttps://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}
- BNDRY APIhttps://api.bndry.app/v1alpha/documents/{document}
- oauth2_client_credentials
- oauth2_authorization_code
curl -i -X DELETE \
'https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success
One of:
Enum:"DOCUMENT_TYPE_UNSPECIFIED""DRIVERS_LICENCE""PASSPORT""AU_MEDICARE_CARD""VISA""BIRTH_CERTIFICATE"
(OPTIONAL) Optional. The entity this document belongs to. Format: entities/{entity}
Output only. The timestamp when the document was created.
Output only. The timestamp when the document was most recently updated.
Output only. The timestamp when the document was deleted. See AIP-164.
Response
- au_medicare_card
- birth_certificate
- drivers_licence
- passport
- visa
{ "name": "string", "type": "DOCUMENT_TYPE_UNSPECIFIED", "entity": "string", "createTime": "2023-01-15T01:30:15.01Z", "updateTime": "2023-01-15T01:30:15.01Z", "deleteTime": "2023-01-15T01:30:15.01Z", "auMedicareCard": { "cardNumber": "string", "individualReferenceNumber": 1, "birthDate": { … }, "cardExpiry": { … }, "cardType": "CARD_TYPE_UNSPECIFIED", "fullName1": "string", "fullName2": "string", "fullName3": "string", "fullName4": "string", "expiryDate": { … } } }