---
title: "Disable totp settings"
method: POST
path: "/user/settings/totp/disable"
tags: ["user"]
---

# Disable totp settings

`POST /user/settings/totp/disable`

Disables any totp settings for the current user.

## Request body

- UserLogin
  - `long_token` boolean — If true, the token returned will be valid a lot longer than default. Useful for "remember me" style logins.
  - `password` string — The password for the user.
  - `totp_passcode` string — The totp passcode of a user. Only needs to be provided when enabled.
  - `username` string — The username used to log in.

## Response `200`

Successfully disabled

- ModelsMessage
  - `message` string — A standard message.

## Other responses

- `400` — Something's invalid.
- `404` — User does not exist.
- `500` — Internal server error.

---

[API](https://skmtc.net/go-vikunja/apis/vikunja-api.md) · [All operations](https://skmtc.net/go-vikunja/apis/vikunja-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/go-vikunja/vikunja-api/revisions/feb3f68bbdf1/schema)
