function delete($id) { $endpoint = "https://api.hubapi.com/content/api/v2/blog-posts/{$id}"; return $this->client->request('delete', $endpoint); }