OBJECT

Mutation

link GraphQL Schema definition

  • type Mutation {
  • # Create a new tenant
  • #
  • # Arguments
  • # name: The full name of the tenant
  • createTenant(name: String!): Tenant
  • # Delete a tenant
  • #
  • # Arguments
  • # id: The unique id of the tenant
  • deleteTenant(id: String!): Tenant
  • # Create a tenant
  • #
  • # Arguments
  • # tenantId: Tenant unique id
  • # email: Email of the user
  • # password: Password used to login
  • createUser(tenantId: String!, email: String!, password: String!): User
  • # Delete a user
  • #
  • # Arguments
  • # id: The unique id of the user
  • deleteUser(id: String!): User
  • # Login a user
  • #
  • # Arguments
  • # email: Email of the user
  • # password: Password for the user
  • login(email: String!, password: String!): Login
  • # Change the password of a user for login
  • #
  • # Arguments
  • # email: Email of the user
  • # currentpassword: Current password for the user
  • # newpassword: New password for the user
  • changePassword(
  • email: String!,
  • currentpassword: String!,
  • newpassword: String!
  • ): User
  • # Send password reset for a user in case of lost password
  • #
  • # Arguments
  • # email: Email of the user to reset
  • resetPassword(email: String!): User!
  • }

link Require by

This element is not required by anyone