FIREANIME API
Browse API97 operations
POST

DeleteComment

Delete Comment through the Comment service.

/api.v1.comment.CommentService/DeleteComment Bearer required
01

Request

DeleteCommentRequest

DeleteCommentRequestapi.v1.comment.DeleteCommentRequest1 fields

Delete Comment Request message.

commentId
uint32

Comment Id value.

Request JSON
{
  "commentId": 1
}
02

Response

DeleteCommentResponse

DeleteCommentResponseapi.v1.comment.DeleteCommentResponse1 fields

Delete Comment Response message.

message
string

Message value.

Example response
{
  "message": "success"
}
03

Error handling

Common failure codes

unauthenticatedThe Bearer token is missing or invalid.

invalid_argumentThe request payload failed validation.

internalThe service could not complete the operation.