Add a User to a Group - ACS - Reference Guides

ACS Integration Guide

Product
ACS
AFS_Version
7.9
Category
Reference Guides
language
English
audience
public

To add a user to a group, a CKS root user must use the POST method on the user resource of a given group id.

  • request line

POST /cks/instance/<service_id>-${Service_Status}/group/<group_id>/user?afs:login=login://antidot:change_on_install@Antidot

  • request body:

<value xsi:type="cks.ws.user" xmlns="antidot:cks:input" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" reference="/cks/instance/12-stable/user/8"/>

  • reply body

<value xsi:schemaLocation="antidot:cks:output http://ref.antidot.net/v7/cks.xsd" xsi:type="ws.response" xmlns="antidot:cks:output" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<query xsi:type="ws.response.query">
<locale>fr_FR</locale>
<parameters></parameters>
<properties xsi:type="dynamic"></properties>
</query>
<result xsi:type="cks.ws.user" partial="true" reference="/cks/instance/12-stable/user/8" />
</value>