Schema Documentation
deleteUser
Description
The deleteUser mutation
Response
Returns a DeleteUserPayload
Arguments
Name | Description |
---|---|
input - DeleteUserInput! | Input for the deleteUser mutation |
Example
Query
mutation deleteUser($input: DeleteUserInput!){ deleteUser(input: $input){ clientMutationIddeletedIduser { ...UserFragment } }}
Variables
{"input":DeleteUserInput}
Response
{"data":{"deleteUser":{"clientMutationId":"xyz789","deletedId":"4","user":User}}}