GraphQL Queries - SeedCompany/cord-docs GitHub Wiki
Delete Engagement
Use includes removing language from a cluster
mutation {
deleteEngagement(id:"kz6XzVKBIit")
}
Get User
query getUser {
user(id: "") {
id
email {
value
}
displayFirstName {
value
}
displayLastName {
value
}
realFirstName {
value
}
realLastName {
value
}
}
}
Update User
mutation updateUser {
updateUser(input: { user: { id: "" email: "" } }) {
user {
id
email {
value
}
displayFirstName {
value
}
displayLastName {
value
}
}
}
}
Update User Mutation
mutation UpdateUserMutation($updateUserInput: UpdateUserInput!) {
updateUser(input: $updateUserInput) {
user {
id
roles {
value
}
}
}
}
with these query variables
{
"updateUserInput": {
"user": {
"id": "",
"roles": [
"",
""
]
}
}
}