curl -X POST "https://heimdall.qa.zoniqx.com/auth/2fa/disable" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>" \
-H "Content-Type: application/json" \
-d '{
"password": "string"
}'const response = await fetch("https://heimdall.qa.zoniqx.com/auth/2fa/disable", {
method: "POST",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"password": "string"
}),
});
const data = await response.json();type AuthController_twoFactorDisableResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/auth/2fa/disable", {
method: "POST",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"password": "string"
}),
});
const data: AuthController_twoFactorDisableResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/auth/2fa/disable"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
payload = {
"password": "string"
}
response = requests.post(url, headers=headers, json=payload)
data = response.json()