createrelateduser
/api/createrelateduser/
List methods: post, get
Detail methods: options, post, get, put, patch, delete
An endpoint creating an user account for someone else. The loop is as follows:
Make a POST request with the email and optionally any other user parameters of the account you wish to create. That will send an email to containing an URL with an embedded, single-use token.
POST https://api.hexoskin.com/api/createrelateduser/
{
"email":"newuseremail@example.com",
"password": "somepassword",
"profile": {
"fitness": {
"weight": 65,
"height": 1.65,
...
},
"gender": "M",
"date_of_birth": "1970-01-01",
}
}
The token and the uidb64 (user id in base 64) will be embedded in the confirmation url in a mail sent with the email adresss
The email will redirect to an hexoskin page similar to a signup page that will allow the user to update his signup information
Fields
- email: EmailField
-
This field will default to: '' (empty string)
- first_name: CharField
-
This field may be blank
This field will default to: '' (empty string)
- last_name: CharField
-
This field may be blank
This field will default to: '' (empty string)
- password: CharField
-
This field may be blank
This field will default to: '' (empty string)
- profile: UserProfileSerializer
-
This field may be blank
This field will default to: {}
- bundles: ListField
-
This field will default to: '' (empty string)
Filtering Options
No filtering supported
Sorting Options
No sorting supported
© 2024 by CarrĂ© Technologies Inc.