Schema Documentation
deletePost
Description
The deletePost mutation
Response
Returns a DeletePostPayload
Arguments
Name | Description |
---|---|
input - DeletePostInput! | Input for the deletePost mutation |
Example
Query
mutation deletePost($input: DeletePostInput!){ deletePost(input: $input){ clientMutationIddeletedIdpost { ...PostFragment } }}
Variables
{"input":DeletePostInput}
Response
{"data":{"deletePost":{"clientMutationId":"abc123","deletedId":4,"post":Post}}}