feat: update user
This commit is contained in:
12
client/graph/admin/users/users-mutation-update.gql
Normal file
12
client/graph/admin/users/users-mutation-update.gql
Normal file
@@ -0,0 +1,12 @@
|
||||
mutation ($id: Int!, $email: String, $name: String, $newPassword: String, $groups: [Int], $location: String, $jobTitle: String, $timezone: String) {
|
||||
users {
|
||||
update(id: $id, email: $email, name: $name, newPassword: $newPassword, groups: $groups, location: $location, jobTitle: $jobTitle, timezone: $timezone) {
|
||||
responseResult {
|
||||
succeeded
|
||||
errorCode
|
||||
slug
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
9
client/graph/admin/users/users-query-groups.gql
Normal file
9
client/graph/admin/users/users-query-groups.gql
Normal file
@@ -0,0 +1,9 @@
|
||||
query {
|
||||
groups {
|
||||
list {
|
||||
id
|
||||
name
|
||||
isSystem
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user