Skip to content

Updates the user profile information.

PATCH
/api/user/{userId}/profile

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

userId*
Typestring
Required

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": "string",
"city": ""
},
"coordinate": {
"lat": 52.5,
"lon": 13.4
},
"aboutMePublic": "string",
"aboutMeInternal": "string",
"noAutoDelete": 0
}

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": "string",
"city": ""
},
"coordinate": {
"lat": 52.5,
"lon": 13.4
},
"aboutMePublic": "string",
"aboutMeInternal": "string",
"noAutoDelete": 0
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python