Disable another user's MFA
curl --request DELETE \
--url https://api.studio.prisme.ai/v2/users/{userId}/mfa \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/users/{userId}/mfa', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/users/{userId}/mfa"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}API Gateway
Disable another user's MFA
Disable MFA for a target user. Platform admin (SuperAdmin/Root) only.
DELETE
/
v2
/
users
/
{userId}
/
mfa
Disable another user's MFA
curl --request DELETE \
--url https://api.studio.prisme.ai/v2/users/{userId}/mfa \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/users/{userId}/mfa', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/users/{userId}/mfa"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}Was this page helpful?