Modern React Template - v0.0.10
    Preparing search index...

    Function deletePost

    • Example: Delete a post

      Deletes a blog post by ID.

      Parameters

      • postId: string

        UUID of the post to delete

      Returns Promise<void>

      Promise resolving when the post is deleted

      If postId format is invalid

      If the request fails

      await deletePost('550e8400-e29b-41d4-a716-446655440000');