YABGSMS

Deleting a post

Deleting a post with an admin token and its ID

Running the following GraphQL query:

mutation DeletePost($deletePostId: Int!) {
  deletePost(id: $deletePostId)
}

with $deletePostId as a Post ID on success will return:

{
  "data": {
    "deletePost": true
  }
}