User Two-Factor Authentication Status
Select
Customer Managed
Returns information about a user's two-factor authentication settings.
Query Parameters
- username string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Two- Factor Authentication Status of a User
Schema
twoFactorInfo object
{
"twoFactorInfo": {
"isTwoFactorAuthenticationEnabled": true,
"userEmail": "string"
}
}
{
"twoFactorInfo": {
"isTwoFactorAuthenticationEnabled": false,
"userEmail": "jrana@commvault.com"
}
}
GET /security/twofactorauth/status
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Security/TwoFactorAuth/Status' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Security/TwoFactorAuth/Status' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Security/TwoFactorAuth/Status' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Security/TwoFactorAuth/Status' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Security/TwoFactorAuth/Status' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Security/TwoFactorAuth/Status' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Security/TwoFactorAuth/Status' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'