Skip to content

Updates the user profile information.​

PATCH
/api/users/{userId}/profile

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

userId*
Type
string
Required
Pattern
"[1-9]\\d*|current"

Request Body​

application/json
JSON
{
  
"id": 0,
  
"firstName": "Peter",
  
"lastName": "Miller",
  
"role": 0,
  
"position": "string",
  
"regionId": 0,
  
"gender": 0,
  
"birthday": "",
  
"mobile": "string",
  
"phone": "string",
  
"location": {
  
  
"street": "",
  
  
"postalCode": null,
  
  
"city": ""
  
},
  
"coordinate": {
  
  
"lat": 52.5,
  
  
"lon": 13.4
  
},
  
"aboutMePublic": "string",
  
"aboutMeInternal": "string",
  
"noAutoDelete": true
}

Responses​

Success.

application/json
JSON
{
  
"id": 0,
  
"firstName": "Peter",
  
"lastName": "Miller",
  
"role": 0,
  
"position": "string",
  
"regionId": 0,
  
"gender": 0,
  
"birthday": "",
  
"mobile": "string",
  
"phone": "string",
  
"location": {
  
  
"street": "",
  
  
"postalCode": null,
  
  
"city": ""
  
},
  
"coordinate": {
  
  
"lat": 52.5,
  
  
"lon": 13.4
  
},
  
"aboutMePublic": "string",
  
"aboutMeInternal": "string",
  
"noAutoDelete": true
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​