Read the password-based REST authentication switch
Whether this network still accepts REST calls authenticated with the account password: the username/hash/timestamp signature, the login token from POST /rest-api/auth/token.do, and login + password on /rest.
https://YOUR-NETWORK-DOMAIN/rest-api/white-label/password-rest-auth.do Whether this network still accepts REST calls authenticated with the account password: the username/hash/timestamp signature, the login token from POST /rest-api/auth/token.do, and login + password on /rest. API keys, the console and the AI assistant do not depend on it. sunset is the announced day password-based REST stops working (from then on every password-authenticated response carries Deprecation, Sunset and Link headers), null while none is announced. recentPasswordUses lists the accounts that still authenticated that way in the last recentDays days (latest first, at most 50; recentPasswordUsers counts them all): they have to move to API keys before it is switched off. canSwitchOff is false while the servers still sign calls between them with users' passwords. Requires the WHITE_LABEL admin permission.
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
Bad request — invalid or missing parameters
401
Authentication error
403
Insufficient permissions, naming the missing one