How does the Auth API work? | Aquro Help Center

/Cloud/Auth/InviteUser
Invites a user to the platform

Permission
Authenticated user only

Arguments
Email - The email of the user to invite
Group (optional) - Group to invite the user to
Value1..Value5 (optional) - values to include in the email

/Cloud/Auth/AddUserToGroup
Adds a user to a group

Permission
Authenticated user only

Arguments
Username - Username of the user to add to the group
Group - Group to add the user to

/Cloud/Auth/RemoveUserFromGroup
Removes a user from a group

Permission
Authenticated user only

Arguments
Username - Username of the user to remove from the group
Group - Group that user should be removed from

/Cloud/Auth/CreateUser
Creates a user

Permission
Everyone

Arguments
Username - Username of the new user
Password - Password for the new user
ProfilePropertis - Key value object with the properties to save on the user

/Cloud/Auth/Logout
Sign out from the app

Permission
Authenticated user only

Arguments
None

/Cloud/Auth/UpdateProfile
Updates the profile on the current signed in user

Permission
Authenticated user only

Arguments
Properties - Key value object with the properties to save on the user

/Cloud/Auth/VerifyUser
Authenticates a user

Permission
Everyone

Arguments
Username - Username to verify
Password - Password to verify

Returns
UserID - ID of verified user
UserHash - The hash of the user
Masterkey - Encryption masterkey

/Cloud/Auth/BeginPasswordReset
Initiates a password reset process

Permission
Everyone

Arguments
Username - Username to reset the password for

/Cloud/Auth/CompletePasswordReset
Finishes a password reset process

Permission
Everyone

Arguments
Code - The password reset code
Password - The new password for the user

/Cloud/Auth/ChangePassword
Changes the password for the currently signed in user

Permission
Authenticated user only

Arguments
NewPassword - The new password

Returns
UserHash - The hash of the user
Masterkey - Encryption masterkey