# RemoveUserMfa Method

## Description

Removes the MFA from a user.

## HTTP Request

`PUT https://api.skeddly.com/api/Users/{id}/RemoveMfa`

## URL Parameters

### id

ID of the user whose MFA is to be removed.

Type: `string`

Required: Yes

## Body

The body is a JSON structure with the following properties.

### mfaType

Type of MFA to remove. Must match the existing MFA type set on the user.

Type: `string`

Valid Values:

* `google-auth`
* `mobile-otp`

Required: Yes

## Returns

A [User](https://docs.skeddly.com/data-types/user-object) object.

## Sample Request

{% tabs %}
{% tab title="HTTP" %}

```http
PUT /api/Users/u-00000001/RemoveMfa HTTP/1.1
Host: api.skeddly.com
Authorization: AccessKey <api key>
Content-Type: application/json

{
    "mfaType": "google-auth"
}
```

{% endtab %}

{% tab title="Bash" %}

```bash
curl -X PUT "https://api.skeddly.com/api/Users/u-00000001/RemoveMfa" \
  -H "Authorization: AccessKey <api key>" \
  -d mfaType="google-auth"
```

{% endtab %}
{% endtabs %}

## Sample Response

```javascript
{
    "emailAddress": "user@example.com",
    "lastAccessDate": "2016-06-09T11:00:00Z",
    "mfaType": "none",
    "status": "disabled",
    "userId": "u-00000001",
    "username": "user1"
}
```
