Queries the deletion status of a contact.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ContactId |
string |
No |
The ID of the contact. |
c-qL4HqKONzOM7**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
95060F1D-6990-4645-8920-A81D1BBFE992 |
| ContactDeletionStatus |
object |
The deletion information of the contact. |
|
| Status |
string |
The deletion status of the contact. Valid values:
|
Deleting |
| ContactId |
string |
The ID of the contact. |
c-qL4HqKONzOM7**** |
| FailReasonList |
array<object> |
The types of messages received by the contact. |
|
|
object |
The types of messages received by the contact. |
||
| AccountId |
string |
The Alibaba Cloud account ID of the member. |
199796839435**** |
| MessageTypes |
array |
The types of messages received by the contact. |
|
|
string |
The types of messages received by the contact. |
AccountExpenses |
Examples
Success response
JSON format
{
"RequestId": "95060F1D-6990-4645-8920-A81D1BBFE992",
"ContactDeletionStatus": {
"Status": "Deleting",
"ContactId": "c-qL4HqKONzOM7****",
"FailReasonList": [
{
"AccountId": "199796839435****",
"MessageTypes": [
"AccountExpenses"
]
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.ContactId | The ContactId is invalid. | |
| 400 | MissingParameter.ContactId | You must specify ContactId. | |
| 404 | EntityNotExists.Contact | This Contact does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.