Delete conversation participant

deleteConversationParticipant(conversationId: ID!, userId: ID!): DeletionResult!

Arguments

ArgumentTypeRequiredDescription
conversationIdID!Yes
userIdID!YesUser participant to remove.

Response

Returns DeletionResult!. Open the type for its fields and nested types.

FieldTypeDescription
okBoolean!Always true: the deletion was accepted.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
mutation DeleteConversationParticipant($conversationId: ID!, $userId: ID!) {  deleteConversationParticipant(conversationId: $conversationId, userId: $userId) {    ok  }}
variables.json
{  "conversationId": "00000000-0000-4000-8000-000000000001",  "userId": "00000000-0000-4000-8000-000000000001"}