Channels
Delete Channel Thread
This endpoint deletes an existing thread.
DELETE
/v1/channel_thread
Bearer*
Body
case_id
string
The ID provided in the data tab may be used to identify the case
Response
id
string
The ID provided in the data tab may be used to identify the case
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/channel_thread' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "rt_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "ct_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "channel_thread",
"deleted": true
}
curl --location --request DELETE 'https://api.stateset.com/v1/channel_thread' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "rt_1NXWPnCo6bFb1KQto6C8OWvE"
}'
{
"id": "ct_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "channel_thread",
"deleted": true
}