Headers
-
The id of the target brand
Path parameters
-
The chatroom id
DELETE
/chat/chatrooms/{id}/thread
curl \
--request DELETE https://domain.tld/api/v2/chat/chatrooms/{id}/thread \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-Popsell-Brand: 3"
Response examples (200)
{
"message": "Thread deleted successfully"
}
Response examples (401)
{
"message": "Unauthorized."
}