All Products
Search
Document Center

Resource Management:GetMessageContactDeletionStatus

Last Updated:Jun 25, 2024

Queries the deletion status of a contact.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ContactIdstringNo

The ID of the contact.

c-qL4HqKONzOM7****

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The request ID.

95060F1D-6990-4645-8920-A81D1BBFE992
ContactDeletionStatusobject

The deletion information of the contact.

Statusstring

The deletion status of the contact. Valid values:

  • Deleting
  • Failed
Deleting
ContactIdstring

The ID of the contact.

c-qL4HqKONzOM7****
FailReasonListobject []

The types of messages received by the contact.

AccountIdstring

The Alibaba Cloud account ID of the member.

199796839435****
MessageTypesarray

The types of messages received by the contact.

string

The types of messages received by the contact.

AccountExpenses

Examples

Sample success responses

JSONformat

{
  "RequestId": "95060F1D-6990-4645-8920-A81D1BBFE992",
  "ContactDeletionStatus": {
    "Status": "Deleting",
    "ContactId": "c-qL4HqKONzOM7****",
    "FailReasonList": [
      {
        "AccountId": "199796839435****",
        "MessageTypes": [
          "AccountExpenses"
        ]
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameter.ContactIdThe ContactId is invalid.The value of the ContactId parameter is invalid.
400MissingParameter.ContactIdYou must specify ContactId.The ContactId parameter is not configured.
404EntityNotExists.ContactThis Contact does not exist.The specified contact does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-05-18The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 404