Documentation

/groups/{contentId}/users/{userId} [DELETE]

ThoughtFarmer REST API Method: /groups/{contentId}/users/{userId}

Removes a user from the group.

URL:
http://yourserver.com/api/group/{contentId}/users/{userId}

Response Formats:
none

HTTP Method(s):
DELETE

Requires Authentication:
true, user making call must pass a valid token parameter and must have edit permissions. Also, the group membership state must be set to allow modifying the members of the group.

Parameters:

Parameter Type Description
contentId int Required. The contentId of the group to remove the user from
userId int Required. The user's id to remove from the group
token string Required. A valid token authentication parameter

Response Status Codes:
200 - Delete successful
401 - Token parameter is invalid
403 - No permissions to modify group membership
404 - Group not found / User not found

Example request
DELETE http://yourserver.com/api/group/{contentId}/users/{userId}