Mutation
mutation DeleteComment($input: DeleteCommentInput!) {
deleteComment(input: $input) {
clientMutationId
deletedId
errors
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deleteComment": {
"clientMutationId": "string",
"deletedId": "id",
"errors": [
"string"
]
}
}
}Mutations
deleteComment
Delete a comment
Required scope: write:comments
MUTATION
deleteComment(input: DeleteCommentInput!): DeleteCommentPayloadArguments
input
required
Parameters for DeleteComment
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
deletedId
ID
errors
[String!]!
Mutation
mutation DeleteComment($input: DeleteCommentInput!) {
deleteComment(input: $input) {
clientMutationId
deletedId
errors
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deleteComment": {
"clientMutationId": "string",
"deletedId": "id",
"errors": [
"string"
]
}
}
}