Skip to content

Delete

DELETE
/recurring-bills/{id}
curl --request DELETE \
--url https://example.com/recurring-bills/example \
--header 'Idempotency-Key: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'

Who can call it: Owners and Staff. Staff need the Team right Manage recurring bills (vendor_bills.manage_recurring).

curl -X DELETE "https://spine.example.com/api/recurring-bills/<id>" \
  -H "Cookie: better-auth.session_token=<session>" \
  -H "Idempotency-Key: $(uuidgen)"
id
required
string
Idempotency-Key
required
string format: uuid

A fresh UUID per action. A retry with the same key gets the first answer instead of doing it twice.

Validation failed or a business rule was broken; message says what to change.

No session, or it has expired: sign in again.

The caller’s role, Team rights or ownership don’t allow it, the module is switched off, or their access was removed.

No such record in this business.

The same Idempotency-Key is still being handled, or the record conflicts with one that exists.

Too many requests: wait a minute.

Something went wrong on the server; the response carries the request id to report.