> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/admin/settings/two-factor-authentication.md).

# Security

Enable two-factor authentication for all users or specific accounts, with inheritance to sub-users and API management options

The **Security** page allows you to improve the security of user accounts on the Navixy platform by enabling two-factor authentication (2FA). You can configure this security feature for all users or selectively enable it based on specific account needs.

## **How to enable two-factor authentication**

Two-factor authentication can be enabled either for all users in your system or for specific users via their settings.

* **For all users**: Configured in **Admin Panel → Settings → Security.** Ensures that all current and new users must authenticate using a one-time passcode in addition to their login credentials. All sub-users and imported users also inherit the 2FA settings.

{% hint style="info" %}
2FA settings don't apply to demo users
{% endhint %}

<figure><img src="https://2430404930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKdgeXg71LpaDrwexQYwp%2Fuploads%2Fgit-blob-8496314d8ebfda3d80f3dc5c85be1995ca299679%2Fimage.png?alt=media" alt="Two-factor authentication settings" width="378"><figcaption><p>Two-factor authentication settings</p></figcaption></figure>

* **For specific users**: For individual accounts that require personalized security, you can enable 2FA in **Admin Panel → Users → Edit user → Two-factor authentication.** All sub-users created in that account also inherit the 2FA settings.

<figure><img src="https://2430404930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKdgeXg71LpaDrwexQYwp%2Fuploads%2Fgit-blob-ecba10b2e564f5f81eb96375c4764c92c8e497d4%2Fimage.png?alt=media" alt="Two-factor authentication for a specific user" width="563"><figcaption><p>Two-factor authentication for a specific user</p></figcaption></figure>

{% hint style="info" %}
Note that the current implementation only allows enabling two-factor authentication for all account users, including sub-users created in the main account.
{% endhint %}

To configure 2FA settings, you can use the Navixy Panel API, using the calls to read and update 2FA settings for a list of specified users or all users of the platform, as well as set default settings for new users. You can learn more about the Navixy Panel API in the [Developer Hub](/docs/navixy-api/panel-api/resources/user/mfa-settings.md).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://navixy.com/docs/admin/settings/two-factor-authentication.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
