Mutation
mutation LeaveCommunity($input: LeaveCommunityInput!) {
leaveCommunity(input: $input) {
clientMutationId
errors
outcome
}
}Variables
{
"input": {}
}Response
{
"data": {
"leaveCommunity": {
"clientMutationId": "string",
"errors": [
"string"
],
"outcome": "ADDED"
}
}
}Mutations
leaveCommunity
Leave this community, and every Space in it, as the signed-in member. The member keeps their account and content and can rejoin later. The removal finishes in the background. The only Host of the community, or of any Space in it, cannot leave, and neither can a member with an active paid subscription until they cancel it.
Required scope: write:memberships
MUTATION
leaveCommunity(input: LeaveCommunityInput!): LeaveCommunityPayloadArguments
input
required
Parameters for LeaveCommunity
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
outcome
Mutation
mutation LeaveCommunity($input: LeaveCommunityInput!) {
leaveCommunity(input: $input) {
clientMutationId
errors
outcome
}
}Variables
{
"input": {}
}Response
{
"data": {
"leaveCommunity": {
"clientMutationId": "string",
"errors": [
"string"
],
"outcome": "ADDED"
}
}
}