Mutation
mutation DeletePost($input: DeletePostInput!) {
deletePost(input: $input) {
clientMutationId
deletedId
errors
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deletePost": {
"clientMutationId": "string",
"deletedId": "id",
"errors": [
"string"
]
}
}
}Mutations
deletePost
Delete a post or article
Required scopes: write:posts, host:write:network_posts (any one)
MUTATION
deletePost(input: DeletePostInput!): DeletePostPayloadArguments
input
required
Parameters for DeletePost
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
deletedId
ID
errors
[String!]!
Mutation
mutation DeletePost($input: DeletePostInput!) {
deletePost(input: $input) {
clientMutationId
deletedId
errors
}
}Variables
{
"input": {
"id": "id"
}
}Response
{
"data": {
"deletePost": {
"clientMutationId": "string",
"deletedId": "id",
"errors": [
"string"
]
}
}
}