-
Notifications
You must be signed in to change notification settings - Fork 0
GraphQL Queries
Carson Full edited this page Nov 22, 2022
·
3 revisions
Use includes removing language from a cluster
mutation {
deleteEngagement(id:"kz6XzVKBIit")
}
query getUser {
user(id: "") {
id
email {
value
}
displayFirstName {
value
}
displayLastName {
value
}
realFirstName {
value
}
realLastName {
value
}
}
}
mutation updateUser {
updateUser(input: { user: { id: "" email: "" } }) {
user {
id
email {
value
}
displayFirstName {
value
}
displayLastName {
value
}
}
}
}
mutation UpdateUserMutation($updateUserInput: UpdateUserInput!) {
updateUser(input: $updateUserInput) {
user {
id
roles {
value
}
}
}
}
with these query variables
{
"updateUserInput": {
"user": {
"id": "",
"roles": [
"",
""
]
}
}
}