deleteBlogPost method

Future<void> deleteBlogPost(
  1. int id
)

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',
    },
  );
}