devicehive-java-server icon indicating copy to clipboard operation
devicehive-java-server copied to clipboard

update user status not worked

Open sinozhou opened this issue 9 years ago • 0 comments

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.

sinozhou avatar Aug 18 '16 03:08 sinozhou