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