Queries the multi-factor authentication (MFA) status of a Cloud SSO directory.
Operation description
In this example, the MFA status of the directory whose ID is d-00fc2p61**** is queried. The response shows that MFA is enabled.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetMFAAuthenticationStatus |
get |
*Directory
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the directory. |
d-00fc2p61**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
5E688346-DF1A-5537-9BFC-8A9974D29586 |
| MFAAuthenticationStatus |
string |
The MFA status. Valid values:
|
Enabled |
Examples
Success response
JSON format
{
"RequestId": "5E688346-DF1A-5537-9BFC-8A9974D29586",
"MFAAuthenticationStatus": "Enabled"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.