Reset Approval Config
Resets the company’s invoice-approval configuration to the DEFAULT — custom rules off, so every in-app user with the approve capability may approve any invoice. Implemented as a delete of the company’s approval-config document; the absence of a document IS the default.
Idempotent. A company that has no configuration returns
{ "deleted": false } and still 200. Nothing else is touched: no invoice,
no journal record, no ledger row — the approval configuration is plain
configuration, not books, which is why this operation takes no If-Match
and no actionId.
Scope. This governs the IN-APP approve action only. An API caller’s own
approval authority is the company.payment:approve permission on its key
and was never derived from this configuration, so resetting it changes
nothing about what an API key may
approve.
Required permission: company.payment:configure
Authorizations
API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.
Path Parameters
Company identifier
Response
The configuration was reset (or was already at the default)
true when a stored configuration was removed, false when the company was already on the default
