Skip to main content
PUT
Switch a feature module on or off
Sets the mode of one feature module for your organisation: send { "mode": "off" }, { "mode": "on" } or, where the module offers it, { "mode": "trial" }. The response returns every module, as List Feature Modules does.

Permission

Requires organisation_settings:write, which the Owner role holds by default. A caller without it receives 403.

What Changes

  • Only modules you manage. A module with managed_by set to veridox is rejected with 400 and request.organisations.feature-module.staff-switched. Contact Veridox to change it.
  • Trial only where offered. trial runs the module without changing results. It is accepted only where offers_trial is true; otherwise the API returns 400 with request.organisations.feature-module.trial-not-offered.
  • Analysis modules apply from the next analysis. A module with kind set to analysis changes the checks run on documents analysed after the switch. A module with kind set to app applies straight away.
  • Credits. Switching on a module with pricing set to credits, such as identity_verification or verification_checks, charges credits for each analysis that uses it.
  • Changes are audited. Each change is recorded in the audit log as feature_modules.updated, with the module key and the previous and new modes. A request that does not change the mode adds no entry.

Best Practices

  • Send only mode. A body with a missing or invalid mode, or any other field, is rejected with 400.
  • An unknown module key returns 404 with request.organisations.feature-module.not-found. Take keys from List Feature Modules.

Authorizations

x-api-key
string
header
required

Path Parameters

moduleKey
string
required

Module key, e.g. finding_locations

Body

application/json
mode
enum<string>
required

The new mode. trial is accepted only where offers_trial is true.

Available options:
off,
trial,
on
Example:

"on"

Response

Feature module updated

modules
object[]
required

Every feature module, in a fixed order.