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 --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
["Updated user partner-portal:[email protected] successfully","partner-portal:[email protected] user not found in provider"]Status Codes
| Status Code | Response | Comments |
|---|---|---|
| Success | ||
| 200 | ||
| Error | ||
| 400 | ||
| 400 | ||
| 409 | ||
| 429 | ||
| 500 |
