DELETEhttps://api.veriko.mx/v1/validations/{id}

Withdraw a validation

Audience
public
Auth
API key
Permission
validations:delete
How-to guide →

Withdraws a validation from the history through a soft delete.

The record keeps its result and can reappear in GET /v1/validations with the with_deleted filter. Only the owning account can withdraw it.

The record, the CEP, the extracted data, and the receipt file are kept. To delete them permanently, there is POST /v1/validations/{id}/purge/prepare, followed by POST /v1/validations/{id}/purge/execute.

Parameters
ParameterInTypeRequiredDescription
id*pathstring (uuid)required

Validation UUID.

Request
curl -X DELETE 'https://api.veriko.mx/v1/validations/{id}' \
  -H 'Authorization: Bearer veriko_••••' \
  -H 'Content-Type: application/json'

Python example — coming soon.

JavaScript example — coming soon.

PHP example — coming soon.

Response status codesDELETE /v1/validations/{id}
StatusClassDescriptionBody
2042xxValidation withdrawn. Empty body.No body
4014xxAuthentication is required or the provided credentials are invalid.ErrorResponse
4034xxInsufficient permissions.ErrorResponse
4044xxValidation not found or not owned by the account.ErrorResponse
4224xxInvalid UUID in path (invalid_uuid).ErrorResponse
Errors from DELETE /v1/validations/{id}
StatusCodeExample
401unauthorized

Invalid or missing authentication credentials.

Envelope
meta.request_id
c4d5e6f7a8b99b8a7f6e5d4c
403permission_denied

You do not have permission to access this resource.

Envelope
meta.request_id
d5e6f7a8b9c00c9b8a7f6e5d