public function delete($owner, $repo = null, $account = null)
    {
        if (!is_null($account) && is_null($repo)) {
            throw new \InvalidArgumentException("To delete an account privileges, you need to specify a repository.");
        }

        $endpoint = sprintf('privileges/%s', $owner);

        if (!is_null($repo)) {
            $endpoint .= '/'.$repo;
        }

        if (!is_null($account)) {
            $endpoint .= '/'.$account;
        }

        return $this->requestDelete($endpoint);
    }