<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_post(self, blogname, id):
 """ Deletes a post with the given id :param blogname: a string, the url of the blog you want to delete from :param id: an int, the post id that you want to delete :returns: a dict created from the JSON response """

        url = "/v2/blog/{}/post/delete".format(blogname)
        return self.send_api_request('post', url, {'id': id}, ['id'])