---
search:
  tags:
    - users
    - GET
seo:
  description: >-
    Get the two-factor policy for local users. Reference for the GET
    /api/v1/two-factor-policy endpoint in the TimescaleDB Enterprise API.
  noindex: true
sidebar:
  label: Get the two-factor policy
  badge: GET
title: Get the two-factor policy
type: openapi-operation
---
Get the two-factor policy for local users.

`GET /api/v1/two-factor-policy`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "require_two_factor": true
}
```
