Skip to main content
PUT
/
employees
/
{employeeId}
Update an employee for a company
curl --request PUT \
  --url https://openapi.pleo.io/v1/employees/{employeeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "jobTitle": "<string>",
  "phone": "<string>",
  "code": "<string>"
}
'
{
  "id": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "jobTitle": "<string>",
  "role": "<string>",
  "phone": "<string>",
  "avatar": {
    "url": "<string>"
  },
  "code": "<string>",
  "teamId": "<string>"
}

Authorizations

Authorization
string
header
required

Open API Bearer token

Path Parameters

employeeId
string
required

Unique UUID of the employee.

Example:

"0f0e000-000d-0d00-000b-00db0d000fae"

Body

application/json
firstName
string

Employee first name

lastName
string

Employee last name

email
string

Email

jobTitle
string

Job title

phone
string

Phone number

code
string

External Id

Response

An employee has been returned

id
string
required

The unique UUID identifier of the employee

firstName
string

Employee first name

lastName
string

Employee last name

email
string

Email

jobTitle
string

Job title

role
string

Role

phone
string

Phone number

avatar
object
code
string

External Id

teamId
string

Team identifier