Deactivate an account (set inactive)
SOFT DEACTIVATE (sets is_active=false). The explicit “make inactive” action,
equivalent to NetSuite “inactivate” / QuickBooks “Make inactive.” The account
remains readable via GET /v1/accounts/?include_inactive=true and is reversible
via POST /v1/accounts//restore. Use this when DELETE returns 409
account_not_deletable (the account has financial history).
Open-activity guard: If the account has open orders (status=open/draft/processing/
awaiting_ach_clearance) or unpaid invoices, the call returns 409 with
code: account_has_open_activity including counts and the outstanding AR balance.
Pass force: true in the request body to override the guard and deactivate anyway.
The forced deactivation is recorded in the activity log as account_force_deactivated.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Path Parameters
Body
When true, bypasses the open-orders/unpaid-invoices guard and deactivates the account anyway. The override is recorded in the activity log.
Response
Deactivated account
An Arcus ERP account. Represents a customer, vendor, lead, or individual. account_type drives AR vs AP behavior: business/individual/lead = customer (AR); vendor = supplier (AP). entity_id is always from the API key (Layer 1 isolation).

