PATCH
/chat/chatrooms/{chatroom}/purge
curl \
--request PATCH 'https://domain.tld/api/v2/chat/chatrooms/{chatroom}/purge' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"id_ambassador":5}'
Request examples
{
"id_ambassador": 5
}
Response examples (200)
{
"message": "Chatroom purged successfully"
}