OBJECT
UserMutation
Mutations that act on Users.
link GraphQL Schema definition
- type UserMutation {
- # Create a presigned url that users can upload profile images directly to.
- #
- # Arguments
- # filename: The name of the profile image file to create a
- # presigned url for
- String!): SignedUrl ( :
- # Updates unavailability of a user.
- #
- # Arguments
- # id: The user ID
- # unavailability: Weekly unavailability of the user.
- (
- Int, :
- UserUnavailabilityUpdate! :
- ): SuccessResult
- # Updates another user's password.
- #
- # Arguments
- # id: The ID of the document.
- # password: The user's new password.
- Int!, : String!): SuccessResult ( :
- # Updates the user's own password.
- #
- # Arguments
- # password: The user's new password.
- String!): SuccessResult ( :
- # Deletes a user. This action is irreversible.
- #
- # Arguments
- # id: The ID of the user to delete.
- Int!): SuccessResult ( :
- # Marks a user as archived.
- #
- # Arguments
- # id: The ID of the user to archive.
- Int!): SuccessResult ( :
- # Creates a new user.
- #
- # Arguments
- # user: The data to use for the creation
- UserCreate!): SuccessResult ( :
- # Updates an existing user.
- #
- # Arguments
- # user: The data to use for editing the user
- UserUpdate!): SuccessResult ( :
- # Marks a user as archived.
- #
- # Arguments
- # id: The ID of the user to archive.
- Int!): SuccessResult ( :
- # Deregisters a device from our push notification service.
- #
- # Arguments
- # input: The device ID input that is used to deregister the
- # selected.
- DeregisterDeviceInput): DeregisterDeviceSuccessResult ( :
- # Registers a users device to be used for our push notification service.
- #
- # Arguments
- # input: The device ID and service that you want the device to be
- # registerd to.
- RegisterDeviceInput): RegisterDeviceSuccessResult ( :
- # Updates a registered users device to be used for our push notification service.
- #
- # Arguments
- # input: The device ID input used to update a registered device.
- UpdateDeviceInput): UpdateDeviceSuccessResult ( :
- }