Mutation
mutation DeleteProtocolComment($commentId: String!) {
deleteProtocolComment(commentId: $commentId)
}Variables
{
"commentId": "string"
}Response
{
"data": {
"deleteProtocolComment": true
}
}Mutations
deleteProtocolComment
Deletes a comment and its replies and returns true.
MUTATION
deleteProtocolComment(commentId: String!): Boolean!Arguments
commentId
String!
required
Id of the comment to delete.
Returns
Boolean!
Mutation
mutation DeleteProtocolComment($commentId: String!) {
deleteProtocolComment(commentId: $commentId)
}Variables
{
"commentId": "string"
}Response
{
"data": {
"deleteProtocolComment": true
}
}