class GdsApi::AssetManager

def delete_asset(id)

Other tags:
    Example: Delete a file from disk -

Raises:
  • (HTTPErrorResponse) - if the request returns an error

Returns:
  • (GdsApi::Response) - The wrapped http response from the api. Behaves

Parameters:
  • id (String) -- The asset identifier (a UUID).
def delete_asset(id)
  delete_json("#{base_url}/assets/#{id}")
end