Schema Documentation
deleteComment
Description
The payload for the deleteComment mutation
Response
Returns a
DeleteCommentPayload
Arguments
Name | Description |
---|---|
input -
DeleteCommentInput! | Input for the deleteComment mutation |
Example
Query
mutation deleteComment($input: DeleteCommentInput!){
deleteComment(input: $input){
clientMutationIdcomment {
...CommentFragment
}deletedId
}
}
Variables
{"input":DeleteCommentInput}
Response
{"data":{"deleteComment":{"clientMutationId":"abc123","comment":Comment,"deletedId":4}}}