Soft-delete a terminal
DELETE
/v1/tenants/{tenantId}/branches/{branchId}/terminals/{terminalId}
const url = 'https://api.emite.cr/v1/tenants/example/branches/example/terminals/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.emite.cr/v1/tenants/example/branches/example/terminals/example \ --header 'Authorization: Bearer <token>'Removes a terminal that was never used: it leaves the lists and pickers, and no document can be issued from it. The branch's default terminal, and a terminal any document references (in either environment, drafts included), cannot be deleted: 422.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenantId
required
string
branchId
required
string
terminalId
required
string
Responses
Section titled “Responses”Terminal soft-deleted.
Missing or invalid JWT / API key
Tenant boundary violation or insufficient scope.
Terminal or branch not found.
It is the default terminal of its branch, or documents reference it.