class BrickFTP::RESTfulAPI::DeletePublicKey

Delete a public key

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

Public Instance Methods

call(id) click to toggle source

Deletes the specified public key.

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

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