> For the complete documentation index, see [llms.txt](https://docs.tradevest.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tradevest.ai/documentation/11_user_management.md).

# User Management

## User Creation

In order to have fully functioning user account a couple of steps needs to be accomplished:

1. Create User with [`Create User`](/api-reference/user-management/users.md#post-users). Email address sent in the payload must be unique and its domain must be the same as for the Partner.
2. Upload IDENTIFICATION\_CERTIFICATE document for that user with [`Upload Document`](/api-reference/documents/new-documents.md#post-v2-documents).
3. Start Onboarding with [`Start Onboarding`](/api-reference/user-management/users.md#post-user-onboardings). After successful onboarding you will receive an email with one time password.
4. Log in to Partner Panel and change password to permanent.
5. Configure authenticator application for MFA

## Deactivate User

I order to deactivate a user and prevent further login use [`Update User`](/api-reference/user-management/users.md#patch-users-userid) and set `status` field to `INACTIVE`.

## Reset MFA

In case access to authenticator app is not possible a reset of MFA settings is needed.\
To do that use [`Update User`](/api-reference/user-management/users.md#patch-users-userid) and set `mfaType` field to `SMS`.\
Next time user logs in SMS will be send to telephone number specified for that user.\
After successful login user will be asked to set up new authenticator app and MFA method will be changed back again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tradevest.ai/documentation/11_user_management.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
