Queries the status of the mobile phone or email that is bound to a Resource Access Management (RAM) user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:GetVerificationInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserPrincipalName |
string |
No |
The logon name of the RAM user. |
test@example.onaliyun.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
B182C041-8C64-5F2F-A07B-FC67FAF89CF9 |
| SecurityPhoneDevice |
object |
The information about the mobile phone. |
|
| AreaCode |
string |
The international dialing code. |
86 |
| PhoneNumber |
string |
The mobile phone number. |
13900001234 |
| Status |
string |
The status of the mobile phone. Valid values:
|
active |
| SecurityEmailDevice |
object |
The information about the email. |
|
|
string |
The email address. |
username@example.com |
|
| Status |
string |
The status of the email. Valid values:
|
active |
Examples
Success response
JSON format
{
"RequestId": "B182C041-8C64-5F2F-A07B-FC67FAF89CF9",
"SecurityPhoneDevice": {
"AreaCode": "86",
"PhoneNumber": "13900001234",
"Status": "active"
},
"SecurityEmailDevice": {
"Email": "username@example.com",
"Status": "active"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.