class BrickFTP::RESTfulAPI::RemoveGroupMember
Remove a member
@see developers.files.com/#remove-a-member Remove a member
Public Instance Methods
call(group_id, user_id)
click to toggle source
Removes a user from a group. No action will be taken if the user is not already in the group.
@param [Integer] group_id ID of the group the membership is associated with. @param [Integer] user_id ID of the user the membership is associated with.
# File lib/brick_ftp/restful_api/remove_group_member.rb, line 17 def call(group_id, user_id) client.delete("/api/rest/v1/groups/#{group_id}/memberships/#{user_id}.json") true end