Schema Documentation
deleteComment
Description
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":"xyz789","comment":Comment,"deletedId":4}}}