PATCH
/chat/chatrooms/{chatroom}/ambassadors/{ambassador}/flag
curl \
--request PATCH 'https://domain.tld/api/v2/chat/chatrooms/{chatroom}/ambassadors/{ambassador}/flag' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-Popsell-Brand: 3" \
--data '{"flag":1}'
Request examples
# Headers
X-Popsell-Brand: 3
# Payload
{
"flag": 1
}
Response examples (200)
{
"message": "Chatroom flagged successfully"
}