graphql: Add a method to update group details

This commit is contained in:
Valentin Tolmer
2021-09-24 17:50:29 +02:00
committed by nitnelave
parent 3b70762b42
commit c0d866b77b
5 changed files with 60 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ input EqualityConstraint {
type Mutation {
createUser(user: CreateUserInput!): User!
updateUser(user: UpdateUserInput!): Success!
updateGroup(group: UpdateGroupInput!): Success!
addUserToGroup(userId: String!, groupId: Int!): Success!
removeUserFromGroup(userId: String!, groupId: Int!): Success!
deleteUser(userId: String!): Success!
@@ -33,6 +34,12 @@ input RequestFilter {
"DateTime"
scalar DateTimeUtc
"The fields that can be updated for a group."
input UpdateGroupInput {
id: Int!
displayName: String
}
type Query {
apiVersion: String!
user(userId: String!): User!