Request
Example:{"room_id":"58191726927538284-121a","is_spam":true}
Request Code Samples
curl --location --request POST 'https://gateway-sop-dev.fpt.vn/chat-service/api/blocked/conversation/' \
--header 'Accept: application/json' \
--header 'Accept-Language: en-US,en;q=0.9' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImExMzUyNTU5LTRhNDYtNGQwOC1hMDMwLWE2Mjg1NzFhZTFhMCIsImVtYWlsIjoicGhhbXRhbjE5OTg4MUBnbWFpbC5jb20iLCJrZXkiOlsicWx0bWN0bG0iLCJjdGxtIiwidHN4Y3N0bWN0dG0iLCJ4ZHNjdGxtIiwidHN4ZGNjdGxtIiwiY3gzIiwiYmNiaCIsInhkc3RtY3RsbSIsInFxbG5kaHQiLCJxbHUiLCJ2dHZxIiwidnR2cW1kIiwieHZ0dnFtZCIsInRzeHZ0dnFtZCIsInZ0dnFicyIsInh2dHZxYnMiLCJ0c3h2dHZxYnMiLCJjaGh0YyIsIm52dG1uIiwicWxuIiwieGRzbiIsInRzeG4iLCJxbHRtbiIsInhkc3RtbiIsInRzeHRtbiIsImZlZWRiYWNrIiwiYmNraHRuIiwicWxkc2N0bG0iXSwiZmxhZyI6IndlYiIsImlhdCI6MTcxMDk4OTAwNywiZXhwIjoxNzExNTkzODA3fQ.Wdi1rEQlAfHclr6zeniI2PgezzpBvEGKHGY_8d7iV44' \
--header 'Cache-Control: no-cache' \
--header 'Connection: keep-alive' \
--header 'Origin: https://portal-sop-dev.fpt.vn' \
--header 'Pragma: no-cache' \
--header 'Referer: https://portal-sop-dev.fpt.vn/' \
--header 'Sec-Fetch-Dest: empty' \
--header 'Sec-Fetch-Mode: cors' \
--header 'Sec-Fetch-Site: same-site' \
--header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0' \
--header 'sec-ch-ua: "Chromium";v="122", "Not(A:Brand";v="24", "Microsoft Edge";v="122"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "Windows"' \
--header 'X-Auth-User-Id: a1352559-4a46-4d08-a030-a628571ae1a0' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"room_id":"58191726927538284-121a","is_spam":true}'
Responses
application/json Modified at 2024-05-16 04:36:30