class BrickFTP::RESTfulAPI::DeleteUser

Delete a user

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

Public Instance Methods

call(id) click to toggle source

Deletes the specified user.

For additional security, this method requires reauthentication when updating a password unless an API key is used.

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

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