Skip to main content
PUT

Update an employee

Scope:team:employees.write
https://api.holded.com/api/v2/employees/{employeeId}

Updates basic personal data of an employee (name, email, phone, nationality, workplace, etc.). Does NOT update job title, position (puesto/cargo), or any other contract data — use the "Update contract data" endpoint for those fields.

Parameters

Path parameters

employeeIdstringrequired

Employee ID

Request body

object
namestring

First name

last_namestring

Last name

emailstring<email>

Primary email

workplace_idstring | null

Workplace ID

phonestring | null

Phone number

mobilestring | null

Mobile number

date_of_birthstring | null

Date of birth

genderstring | null

Gender

main_languagestring | null

Main language code

nationalitystring | null

Nationality code

codestring | null

Employee code

social_security_numberstring | null

Social security number

ibanstring | null

IBAN

reporting_tostring | null

Reporting-to employee ID

team_ids[]string[] | null

Team IDs

Request

python
import requests

url = "https://api.holded.com/api/v2/employees/{employeeId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "name": "string",
    "last_name": "string",
    "email": "user@example.com",
    "workplace_id": "string",
    "phone": "string",
    "mobile": "string",
    "date_of_birth": "string",
    "gender": "string",
    "main_language": "string",
    "nationality": "string",
    "code": "string",
    "social_security_number": "string",
    "iban": "string",
    "reporting_to": "string",
    "team_ids": [
        "string"
    ]
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "id": "string"
}

Success responses

200Employee updatedapplication/json
object
idstring

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Employee not foundapplication/json
422Validation errorapplication/json
429Rate limit exceededapplication/json