Skip to content

Delete one environment's credentials

DELETE
/v1/tenants/{tenantId}/credentials/{environment}
curl --request DELETE \
--url https://api.emite.cr/v1/tenants/example/credentials/sandbox \
--header 'Authorization: Bearer <token>'

Deletes the stored certificate, PIN and ATV credentials of that environment, and its cached ATV tokens. Allowed on the active environment too: until new credentials are uploaded, documents of that environment cannot be signed or sent.

tenantId
required
string
environment
required
string
Allowed values: sandbox production

Credentials deleted.

Missing or invalid JWT / API key

:tenantId is not the caller's company, or insufficient scope — credentials:* is never granted to an API key.