devicehive-java-server
devicehive-java-server copied to clipboard
update user status not worked
Hi, I try to update the user status to disabled, but it does not work.
curl -X PUT --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Bearer 1jwKgLYi/CdfBTI9KByfYxwyQ6HUIEfnGSgakdpFjgk=" -d "{ "role": 1, "status": 2 }" "http//:server/api/rest/user/11"
But after the command, the user status is not updated.