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" }'
{ "id": "ct_1NXWPnCo6bFb1KQto6C8OWvE", "object": "channel_thread", "deleted": true }
This endpoint deletes an existing message.