SevenShores\Hubspot\Resources\Files::delete PHP Method

delete() public method

Delete a file.
public delete ( integer $file_id ) : Response
$file_id integer The file ID
return SevenShores\Hubspot\Http\Response
    function delete($file_id)
    {
        $endpoint = "https://api.hubapi.com/filemanager/api/v2/files/{$file_id}";
        return $this->client->request('delete', $endpoint);
    }