Deletes a contact.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ContactId |
string |
Yes |
The ID of the contact. |
c-qL4HqKONzOM7**** |
| RetainContactInMembers |
boolean |
No |
Whether to retain the contact for members. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
| Status |
string |
The deletion status of the contact. Valid values:
|
Deleting |
Examples
Success response
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. | |
| 400 | MissingParameter.ContactId | You must specify ContactId. | |
| 404 | EntityNotExists.Contact | This Contact does not exist. | |
| 429 | ConcurrentCallNotSupported | The operation conflicts with other operations. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.