Create a new post via mutation
Update an existing post
Remove a user by ID
Remove a post by ID
curl -X POST http://localhost:4000/graphql -H 'Content-Type: application/json' -d '{"query":"mutation { deletePost(id: 1) { id } }"}'
Deletes a post from the database. Useful for moderation or cleanup tasks.
Delete post ID 3
mutation { deletePost(id: 3) { id } }
Retrieve a single post by ID
Create a new user via mutation
Update an existing user's details