Mutation
mutation DeleteReaction($input: DeleteReactionInput!) {
deleteReaction(input: $input) {
clientMutationId
deletedId
errors
}
}Variables
{
"input": {
"emoji": "string",
"targetId": "id"
}
}Response
{
"data": {
"deleteReaction": {
"clientMutationId": "string",
"deletedId": "id",
"errors": [
"string"
]
}
}
}Mutations
deleteReaction
Remove an emoji reaction from a post or comment. On the public API, removing a
reaction from a post requires the write:posts or host:write:network_posts
OAuth scope; removing one from a comment requires write:comments or
host:write:network_posts.
MUTATION
deleteReaction(input: DeleteReactionInput!): DeleteReactionPayloadArguments
input
required
Parameters for DeleteReaction
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
deletedId
ID
GlobalID of the deleted reaction
errors
[String!]!
Mutation
mutation DeleteReaction($input: DeleteReactionInput!) {
deleteReaction(input: $input) {
clientMutationId
deletedId
errors
}
}Variables
{
"input": {
"emoji": "string",
"targetId": "id"
}
}Response
{
"data": {
"deleteReaction": {
"clientMutationId": "string",
"deletedId": "id",
"errors": [
"string"
]
}
}
}