---
title: "Disable two-factor authentication (TOTP) for a User based on the specified User Id"
method: POST
path: "/users/{user_id}/disable-totp"
tags: ["users"]
---

# Disable two-factor authentication (TOTP) for a User based on the specified User Id

`POST /users/{user_id}/disable-totp`

You need `tenants.user.disable_totp` permission to access resource

## Path parameters

- `user_id` string, required

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
