OBJECT

Mutation

link GraphQL Schema definition

1type Mutation {
2
3# Create user.
4#
5# Arguments
6# user: User data.
7createUser(user: CreateUserInput!): User
8
9# Update existing user.
10#
11# Arguments
12# id: Id of user.
13# user: User data to update.
14updateUser(id: ID!, user: UpdateUserInput!): User
15
16# Update multiple exsting users.
17#
18# Arguments
19# filter: Filter criteria for updated users.
20# data: Data to update.
21updateUsers(filter: UserFilterInput!, data: UpdateUserInput!): [User]!
22
23# Delete user.
24#
25# Arguments
26# id: Id of user.
27deleteUser(id: ID!): Boolean!
28
29# Send invitation to a user.
30#
31# Arguments
32# id: Id of user.
33sendInvitation(id: ID!): User!
34
35# Activate inactive user.
36#
37# Arguments
38# id: Id of user.
39activateUser(id: ID!): User!
40
41# Deactivate active user.
42#
43# Arguments
44# id: Id of user.
45deactivateUser(id: ID!): User!
46
47}

link Required by

This element is not required by anyone