deleteBlogPost method
Delete a blog post by id.
Permissions required: Permission to view the blog post and its corresponding space. Permission to delete blog posts in the space.
Implementation
Future<void> deleteBlogPost(int id) async {
await _client.send(
'delete',
'blogposts/{id}',
pathParameters: {
'id': '$id',
},
);
}