You can remove a user from a group by sending the DELETE request to the following URL: /group/<group_id>/member/<user_id>.

Permission to run the request: Account Owner, Administrator, Organization Administrator. 


Request Headers

ParameterDescription
X-Auth-Account-Url (required)Base URL of the account, e.g. http://myaccount.ispringlearn.com
X-Auth-Email (required)Administrator e-mail address.
X-Auth-Password (required)Administrator password.

After the request has been completed, the system returns the response with Code 204.

Possible Response Codes

CodeTextDescription
404Unknown userThe specified user hasn't been found.
404Unknown groupThe specified group hasn't been found.
403Permission DeniedYou do to have permission to edit the specified group info.
403User not a group's memberA given user does not belong to the specified group.
400Bad RequestThe system failed to process the request, because it did not contain all necessary parameters.
204No ContentA given user has been removed from the specified group.

Sample Request

DELETE /group/1/member/1 HTTP/1.1
Host: api.ispringonline.com
X-Auth-Account-Url: http://myaccount.ispringlearn.com
X-Auth-Email: email@email.com
X-Auth-Password: password
XML

Sample Response

HTTP/1.1 204 No Content
Connection: close
XML