graphql: Add a method to update group details
This commit is contained in:
committed by
nitnelave
parent
3b70762b42
commit
c0d866b77b
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user