Web Services API | Groups Web services | Add users to group
Add users to group
Add users to selected group.
-
URL: /integration/ws/management/rest/groups/<id_grupo_o_codGroup>/users.add
- Method: POST
-
Headers:
-
Accept: version/format header
-
X-Cloud-Auth-Token*: authorization header
-
X-Cloud-Synchronization : synchronization type(default async ).
-
Content-Type*: application/json
-
Parameters: id or codGroup, included in URL.
-
Body: usernames (limit 500)
-
Responses:
-
200: OK. Content: json with result details.
-
404: Bad Request. Content: json with result details.
-
Request example:
-
Response example:
- Payload: {"location":null,"message":"","responsePlatforms":{"management":{"location":null,"message":null,"status":204}},"status":204