---
title: "Delete a users MFA secret"
method: DELETE
path: "/users/{id}/mfa-secret"
tags: ["users"]
---

# Delete a users MFA secret

`DELETE /users/{id}/mfa-secret`

The user will no longer have MFA enabled

## Path parameters

- `id` string, required

## Response `200`

The users MFA secret was deleted

- User
  - `name` string
  - `phone` string — Phone number of the user
  - `email` string — An email address
  - `preferences` object — Preferences for the user
  - `mfa_secret` string, nullable — MFA secret key of the user
  - `roles` Roles[] — Roles assigned to this user
    - string[]
  - `groups` Group[] — Groups to which a user has accepted an invitation
    - `name` string — Name of the group
    - `description` string — Description of the group
    - `roles` string[] — Roles grant permissions to users
    - `href` string — A reference to this group
    - `created` string — An iso8601 formatted timestamp
    - `updated` string — An iso8601 formatted timestamp

---

[API](https://skmtc.dev/webscale/apis/webscale-apis.md) · [All operations](https://skmtc.dev/webscale/apis/webscale-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webscale/webscale-apis/revisions/c98d872b50cb/schema)
