Cancels the update of the mobile phone number or email address of a contact.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcemanager:CancelMessageContactUpdate |
update |
*MessageContact
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ContactId |
string |
No |
The ID of the contact. |
c-qL4HqKONzOM7**** |
| PhoneNumber |
string |
No |
The mobile phone number of the contact. Format: |
86-139****1234 |
| EmailAddress |
string |
No |
The email address of the contact. |
someone***@example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| RequestId |
string |
The ID of the request. |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
Examples
Success response
JSON format
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter.ContactId | You must specify ContactId. | The ContactId parameter is not configured. |
| 400 | InvalidParameter.ContactId | The ContactId is invalid. | The value of the ContactId parameter is invalid. |
| 400 | InvalidParameter.PhoneNumber | The PhoneNumber is invalid. | The value of the PhoneNumber parameter is invalid. |
| 400 | InvalidParameter.MobileCountryCode | The current site does not support the country code. | |
| 400 | InvalidParameter.EmailAddress | The EmailAddress is invalid. | The value of the EmailAddress parameter is invalid. |
| 400 | ContactStatusMismatchAction | The status of the contact does not allow the specified operation. | The status of the contact does not support the current operation. |
| 404 | EntityNotExists.Contact | This Contact does not exist. | The specified contact does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.