Deletes a contact.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ContactId | string | Yes | The ID of the contact. | c-qL4HqKONzOM7**** |
RetainContactInMembers | boolean | No | Specifies whether to retain the contact for members. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE",
"Status": "Deleting"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter.ContactId | The ContactId is invalid. | The value of the ContactId parameter is invalid. |
400 | MissingParameter.ContactId | You must specify ContactId. | The ContactId parameter is not configured. |
404 | EntityNotExists.Contact | This Contact does not exist. | The specified contact does not exist. |
429 | ConcurrentCallNotSupported | The operation conflicts with other operations. Please try again later. | The operation conflicts with other operations. Try again later. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-07-11 | The Error code has changed | see changesets | ||||||||
|