edit_user
Update specific user fields—name, email, department, approver, and more—without affecting other details.
Instructions
Edit a user. Only the fields you supply are changed (partial update).
Args:
user_id: The ID of the user to edit.
email_address: New email. Pass "" to clear an existing address.
approver_id: The user's approver; set to 0 to default to dept manager.
public_holiday_set_id: Public holiday set (needs has_public_holidays).
has_public_holidays: Enable public holidays for this user.
(Other args map directly to the corresponding user fields.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| admin | No | ||
| country | No | ||
| user_id | Yes | ||
| address1 | No | ||
| address2 | No | ||
| birthday | No | ||
| director | No | ||
| job_title | No | ||
| last_name | No | ||
| post_code | No | ||
| first_name | No | ||
| payroll_id | No | ||
| start_date | No | ||
| telephone1 | No | ||
| telephone2 | No | ||
| approver_id | No | ||
| department_id | No | ||
| email_address | No | ||
| has_public_holidays | No | ||
| public_holiday_set_id | No | ||
| emergency_contact_name | No | ||
| emergency_contact_phone | No |