Set sign-in access

Sets whether a user can sign in. platformAccess: false marks an employee record that should never sign in; blocked: true locks out an account, e.g. on offboarding. Both are enforced on every sign-in method and on open sessions. Values are written as given, so repeating a request is safe.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

User ID

Body Params
boolean

Lock the account out (offboarding) or lift the lock.

boolean

Whether the employee may sign in at all. false keeps the employee record without giving it a login.

Responses
200

The access flags after the update

400

Neither blocked nor platformAccess was provided

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!