---
updatedAt: 2025-11-03T18:14:03.000Z
agentTools:
  projectIndex: https://docs.gupshup.io/llms.txt
---

# Enable MFA for Partner Account

Use this API to enable MFA for all the users within the Partner Account identified by PartnerId.

> 📘 NOTE:
>
> If the User has not been migrated to Auth0, we may see an error that the user is not found.

## Sample Request

```curl
curl --location --request POST 'https://partner-support.gupshup.io/partner/admin/partner/mfa' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: `<SUPPORT_TOKEN>`' \
--data-urlencode 'partnerId=`<PARTNER_ID>`' \
--data-urlencode 'mfaEnabled=true' // `<true/false>`
```

## Sample Response

```json
["Updated user partner-portal:sumit.kapoor@gupshup.io successfully","partner-portal:cabide6343@niback.com user not found in provider"]
```

## Status Codes

| Status Code | Response | Comments |
| :---------- | :------- | :------- |
| **Success** |          |          |
| 200         |          |          |
| **Error**   |          |          |
| 400         |          |          |
| 400         |          |          |
| 409         |          |          |
| 429         |          |          |
| 500         |          |          |