netexCloud - Web Services API | Groups Web services | Remove admins from group

Last modified:


Removes admins from the given group.

  • URL: /integration/ws/management/rest/groups/<groupId_or_codGroup>/admins.remove
  • Method: POST
  • Headers:
    • Accept: version/format header (more info).
    • X-Cloud-Auth-Token*: authorization header (more info).
    • X-Cloud-Synchronization: synchronization header (more info).
    • Content-Type*: application/json
  • Parameters:
    • groupId/codGroup: specified group, included in URL.
    • adminIds * : group administrators to remove from the given group. They can be specified with identifier or username.
  • Responses:
    • 204: No content. Administrators successfully removed from the group. The operation ignores users that don't exist or aren't group administrators.
    • 400: Bad request. Wrong or missing parameters.
    • 404: Not found. Group not found.
  • Request example:
{ adminIds: ['groupadmin1', 'groupadmin2', 'groupadmin3'] }

Response example:

  • Synchronous:
{
"location": null,
"message": "",
"responsePlatforms": {
"management": {
"location": null,
"message": null,
"status": 204
},
"training": {
"location": null,
"message": null,
"status": 200
}
},
"status": 204
}

Asynchronous:

{
"location": null,
"message": "",
"responsePlatforms": {
"management": {
"location": null,
"message": null,
"status": 204
},
"training": {
"location": null,
"message": null,
"status": 202
}
},
"status": 204
}

Is this article helpful for you?
© 2023 Netex Knowledge Factory. All Rights Reserved. Disclaimer | Privacy policy | Cookie Policy.
-