Web Services API | Groups Web services | Remove users from group
Modified on: Thu, 13 Apr 2023 4:30 PMRemove users from group
Remove users from selected group.
- URL: /integration/ws/management/rest/groups/<id_grupo_o_codGroup>/users.remove
- 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:
- POST
http://netex.dev.learningcloud.me/integration/ws/management/rest/groups/root1/users.remove
- Payload:{"userIds": ["rivera", "ff80818158906584015890ea0d8a0008", "lemmy"]}
- POST
-
Response example:
- Payload: {"location":null,"message":"","responsePlatforms":{"management":{"location":null,"message":null,"status":204}},"status":204}