POST /myProfile

Update the users profile.

In case the email has been changed, only the email is saved and a new password is send.

Request Traces

Request Headers

POST https://api.railway-stations.org/myProfile

Request Content

{
   "nickname": "string",
   "email": "string",
   "license": "string",
   "photoOwner": false,
   "link": "string",
   "anonymous": false,
   "sendNotifications": false,
}

HTTP Response

HTTP 200

ok

HTTP 400

Bad Request

HTTP 401

authorization failed

HTTP 403

forbidden

HTTP 409

conflict with existing name or email

HTTP default

Unexpected error