PUT
/
api
/
v3
/
users
/
{id}
curl --request PUT \
  --url https://{host}/api/v3/users/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "<string>",
  "lastName": "<string>",
  "mail": "<string>",
  "login": "<string>",
  "legalEntityId": 123,
  "cspId": 123,
  "calendarId": null,
  "employeeNumber": "<string>",
  "birthDate": "<string>",
  "userWorkCycles": [
    {
      "id": 123,
      "startsOn": "<string>",
      "endsOn": "<string>",
      "workCycleId": 123
    }
  ],
  "departmentId": 123,
  "managerId": 123,
  "rolePrincipalId": 123,
  "habilitedRoles": [
    {
      "id": 123
    }
  ],
  "cultureId": 123,
  "address": "<string>",
  "bankName": "<string>",
  "directLine": "<string>",
  "jobTitle": "<string>",
  "gender": "<string>",
  "nationality": "<string>",
  "personalEmail": "<string>",
  "personalMobile": "<string>",
  "professionalMobile": "<string>",
  "quote": "<string>"
}'

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
string
required

ID of the user.

Query Parameters

fields
string[]

Fields of the user, comma separated

Body

The body is of type object.

Response

200

OK