Upgrade
Upgrade the currently authenticated (Anonymous/External login) user to a real user.
https://api.nucle.cloud/v1/user/upgrade
Request Header
Name | Type | Required | Description |
---|---|---|---|
UserToken | string | True | The User Token, available from the Login methods. |
Request Body
Name | Type | Required | Description |
---|---|---|---|
userName | string | True | The user username. |
string | True | The user email. | |
password | string | True | The user password. |
Response
Name | Type | Description |
---|---|---|
200 OK | object | The user object. |
400 Bad Request | object | The outer wrapper for all responses with errors. |
User Object
Name | Type | Description |
---|---|---|
id | string | The id of the user. |
userName | string | The user name of the user. |
displayName | string | The display name of the user. |
string | The email of the user. | |
creationDate | Date Time | The creation date of the user. |
lastLogin | Date Time | The last login activity date of the user. |
ip | string | The public ip of the user. |
city | string | the city of the user |
region | string | The region of the user |
country | string | The country of the user. |
latitude | string | The latitude coordinate of the user. |
longtitude | string | The lontitude coordinate of the user. |
Error Object
Name | Type | Description |
---|---|---|
code | int | Numerical HTTP code |
status | string | Description of the HTTP code. |
errorMessage | string | Description of the error |