Browse the help center

Switch password-based REST authentication on or off

Off refuses every REST call authenticated with the account password, before the password is checked, with a message pointing to API keys: a username/hash/timestamp signature (401), a login token request (403) and login + password on /rest (401).

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/white-label/password-rest-auth.do

Off refuses every REST call authenticated with the account password, before the password is checked, with a message pointing to API keys: a username/hash/timestamp signature (401), a login token request (403) and login + password on /rest (401). API keys, the console and the AI assistant keep working. Takes effect at once on this server and within a minute on the others, and answers the saved setting, read back like the GET. Requires the WHITE_LABEL admin permission.

Form Params

allowed boolean required

Accept REST calls authenticated with the account password; false refuses them

false

Responses

200

{allowed, sunset (yyyy-MM-dd or null), deprecatedSince (yyyy-MM-dd or null), nodeSecretConfigured, canSwitchOff, recentDays, recentPasswordUsers, recentPasswordUses: [{username, method (password_signature, password_login_token or password_plain), lastUsedAt, uses}]}

400

errors.allowed: switching off while the servers still sign calls between them with users' passwords (canSwitchOff false)

401

Authentication error

403

Insufficient permissions, naming the missing one

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.