class BrickFTP::RESTfulAPI::DeleteGroup

Delete a group

@see developers.files.com/#delete-a-group Delete a group

Public Instance Methods

call(id) click to toggle source

Deletes the specified group.

@param [Integer] id Globally unique identifier of each group.

Each group is given an ID automatically upon creation.
# File lib/brick_ftp/restful_api/delete_group.rb, line 17
def call(id)
  client.delete("/api/rest/v1/groups/#{id}.json")
  true
end