StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Messages
Delete Message
This endpoint deletes an existing message.
DELETE
/
v1
/
messages
/
:id
Copy
Ask AI
curl --location --request DELETE 'https://api.stateset.com/v1/messages/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "msg_1NXWPnCo6bFb1KQto6C8OWvE"
}'
Copy
Ask AI
{
"id": "ct_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "channel_thread",
"deleted": true
}
Body
The ID provided in the data tab may be used to identify the message
Response
The ID provided in the data tab may be used to identify the message
The object type
Indicates whether the call was successful. 1 if successful, 0 if not.
Copy
Ask AI
curl --location --request DELETE 'https://api.stateset.com/v1/messages/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "msg_1NXWPnCo6bFb1KQto6C8OWvE"
}'
Copy
Ask AI
{
"id": "ct_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "channel_thread",
"deleted": true
}
Copy
Ask AI
curl --location --request DELETE 'https://api.stateset.com/v1/messages/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "msg_1NXWPnCo6bFb1KQto6C8OWvE"
}'
Copy
Ask AI
{
"id": "ct_1NXWPnCo6bFb1KQto6C8OWvE",
"object": "channel_thread",
"deleted": true
}
Assistant
Responses are generated using AI and may contain mistakes.