Mengaktifkan atau menonaktifkan Autentikasi Multi-Faktor (MFA) untuk pengguna di sebuah direktori.
Deskripsi operasi
If a CloudSSO administrator enables username-password logon for users, CloudSSO automatically enables MFA to improve security. The administrator can call this operation to enable or disable MFA based on the business requirements.
This topic provides an example on how to enable MFA for users.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:SetMFAAuthenticationStatus |
update |
*Directory
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
ID direktori. |
d-00fc2p61**** |
| MFAAuthenticationStatus |
string |
No |
Status MFA. Nilai valid:
|
Enabled |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
14E2B1A9-7713-5E6F-8409-8DE12DF51AF4 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "14E2B1A9-7713-5E6F-8409-8DE12DF51AF4"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.