OS1 Services
User Management Service
How to: Change State of a User
1min
to change the state of a user, call the user state transition endpoint and pass the following parameters in the request body member description tostate one of the valid state codes onboarding, active, deboarding, or inactive reasoncode a valid reason code associated with the event (optional) data any additional information about the transition (optional) request bodies are specified in json format the following example request body shows how to change the state of the user { "tostate" "active\ available", "reasoncode" "r 104", "data" {} }