Domain name for API request: adp.intl.tencentcloudapi.com.
Delete conversation
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DeleteConversation. |
| Version | Yes | String | Common Params. The value used for this API: 2026-05-20. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| ConversationId | Yes | String | Session ID. |
| Type | Yes | Integer | Session type. Enumeration values: 0-CONVERSATION_TYPE_UNSPECIFIED (not specified; means all in list query), 1-CONVERSATION_TYPE_VISITOR (visitor trial), 2-CONVERSATION_TYPE_EVALUATION (evaluation), 5-CONVERSATION_TYPE_API (API integration), 10-CONVERSATION_TYPE_WORKFLOW (workflow debugging), 20-CONVERSATION_TYPE_SHARE (share a link) |
| AppKey | No | String | Required when Type=CONVERSATION_TYPE_API. Application key |
| LoginSubAccountUin | No | String | Sub-user Uin. |
| LoginUin | No | String | Root user Uin. |
| ShareCode | No | String | Required when Type is CONVERSATION_TYPE_SHARE. Share code |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: adp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteConversation
<Common request parameters>
{
"ConversationId": "e0b7f1cc-cc54-4f51-a1e0-e7653a20ea9f",
"Type": 2,
"AppKey": "1",
"ShareCode": "1",
"LoginSubAccountUin": "700001046587",
"LoginUin": "700001046587"
}
{
"Response": {
"RequestId": "b42487dc-6af7-4965-829e-9cf1a6aa8e94"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan