remove review - admin
Update Review Removal Status - Admin
This endpoint is used to remove a specific review identified by the review ID.
Request Body
- No request body is required for this endpoint.
Response
-
data(object)updatedReview(object)-
_id(string): The ID of the updated review. -
book(string): The book associated with the review. -
review(string): The content of the review. -
reviewer(string): The reviewer of the review. -
rating(number): The rating given to the book. -
upvoters(array): List of upvoters for the review. -
downvoters(array): List of downvoters for the review. -
isRemoved(boolean): Indicates if the review has been removed. -
createdAt(string): Timestamp of the review creation. -
updatedAt(string): Timestamp of the review update. -
__v(number): Version key.
-
-
error(null): If the request is successful, the error is null.