Cancel a recurring invoice schedule
DELETE
/v1/recurring-invoices/{id}
const url = 'https://api.emite.cr/v1/recurring-invoices/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/recurring-invoices/example \ --header 'Authorization: Bearer <token>'Cancels (soft-deletes) the schedule — terminal, no further runs are materialized. Idempotent: cancelling an already-canceled schedule succeeds with no effect. The row and its runs are kept in the database, but the API no longer serves them: the schedule leaves the list, and GET on it, on its runs and every other operation answer 404.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Schedule UUID
Responses
Section titled “Responses”Schedule canceled.
Schedule not found, or in another company or environment.