How to changed user group from /api

Discussion space for community admins

Moderators: hugo, alexandre, rmvanarkel

Post Reply
trustpay
Posts: 65
Joined: Mon Aug 03, 2015 10:19 am

How to changed user group from /api

Post by trustpay » Sun Nov 11, 2018 11:48 am

Dear Cyclos team!

Now i would like to use {host}/api to update user information (including GROUP changing), so which api i should use?

alexandre
Posts: 847
Joined: Wed Sep 06, 2006 9:06 am

Re: How to changed user group from /api

Post by alexandre » Mon Nov 12, 2018 10:01 am

Hi,

Sorry it'is not available from the Rest API.
It can be done from the WEB-RPC logged as admin:

POST <root>/web-rpc/changeGroupcomo body:{
"user": "login/id",
"group": "internalName/id",
"comment": "Optional comments"
}

regards
Alexandre Caurrinhos
Cyclos development team.

Post Reply