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

delete() public method

Delete a blog post.
public delete ( integer $id ) : Response
$id integer
return SevenShores\Hubspot\Http\Response
    function delete($id)
    {
        $endpoint = "https://api.hubapi.com/content/api/v2/blog-posts/{$id}";
        return $this->client->request('delete', $endpoint);
    }