How to changed user group from /api

Discussion space for community admins

Moderators: hugo, alexandre, rmvanarkel

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

How to changed user group from /api

Post by trustpay »

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: 862
Joined: Wed Sep 06, 2006 9:06 am

Re: How to changed user group from /api

Post by alexandre »

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