/update

post
user account update.

geolytix.xyz/auth/user/update
This endpoint allows you to update the user account information in the ACL. The body of the post contains the name of the role to be updated.
Request
Response
Request
Query Parameters
token
required
string
An admin user token must be provided with the update post.
Body Parameters
role
required
boolean
The role to update. Boolean value is the new value for the role.
email
required
string
The email of the user account to be updated.
Response
200: OK
User account update has been successful.
'User account updated.'
301: Moved Permanently
Redirect to login view with message if update fails.
'There seems to be a problem with the ACL configuration.'

‚Äč