Skip to main content

Update Setting

PUT 

/api/v2/settings/:slug

Updates a single setting by slug. Body shape varies per slug — for simple settings the body is {"value": ...}; for grouped settings (e.g. purchase-order, forecasting, general) the body is a flat object of allowed keys.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Slug purchase-order accepts:

  • cc_outgoing_email (string|null, max 500) — comma-separated CC list applied to outgoing PO emails.

Slug general accepts (validated keys):

  • connectivity_alert_sound_enabled (boolean) — play a repeating audio alert on the device when the app loses connection to the server, and a confirmation tone when restored. Non-boolean values are rejected with 422.

Authentication: Requires Bearer token.

Requires permission: settings.update

Request

Responses

OK