Skip to content

Remove Issuer

Soft-deletes an issuer (sets active = false). No hard deletes — the row and its history remain in the database.

DELETE /v1/issuers/:id

Authentication

Authorization: Bearer <api-key>

Path parameters

ParameterDescription
idIssuer UUID (from GET /v1/issuers)

Guard rails

  • Cannot remove the tenant's last active issuer. Every tenant must keep at least one.
  • Cannot remove an issuer that has ever issued a document — checked in both the production and sandbox schemas. Create a new issuer instead of reusing one with history.

Response

200 OK

json
{ "ok": true }

Errors

StatusCodeWhen
400LAST_ISSUER_CANNOT_BE_REMOVEDThis is the tenant's only remaining active issuer
400ISSUER_HAS_DOCUMENTSThe issuer has issued at least one document
401UNAUTHORIZEDMissing or invalid API key
403ISSUER_FORBIDDENIssuer belongs to a different tenant
404ISSUER_NOT_FOUNDIssuer not found or already inactive
429TOO_MANY_REQUESTSRate limit exceeded

Comprobify API Documentation