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