Removing a User from a Group

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

Request Headers

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

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

Possible Response Codes

Code Text Description
400 Bad Request The system failed to process the request, because it did not contain all necessary parameters.
403 User not a group's member A given user does not belong to the specified group.
404 Unknown user The specified user hasn't been found.
404 Unknown group The specified group hasn't been found.
204 No Content A given user has been removed from the specified group.

Sample Request

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

Sample Response

HTTP/1.1 204 No Content
Server: nginx
Connection: close