Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×from china, apologise for my grammar mistakes. how do i "update cwd_user set active = 0 where user_name = '123' "by programming. i tried 'PUT /rest/api/2/user',it dosen't work. online etc.
Hi @朱百万
There is no Rest api method to set a user as inactive
You will need to use SQL in the database or use Groovy to access the Java API.
Thank you reply.but i need a task to update user. i can not shutdown the server and use sql. could you tell me how do i deactive it with the underlying code ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.