assign_public_holidays_to_user
Assign public holidays to a user by providing their user ID and country code, with an optional region code. Uses your organisation's custom set if already configured.
Instructions
Assign a set of public holidays to a user (enabling them if needed).
Args:
user_id: The user's ID.
country_code: ISO 3166-1 alpha-2 country code (e.g. "ES" for Spain).
region_code: Full region code (e.g. "GB-SCT" for Scotland,
"ES-AN" for Andalucía).
If the chosen country/region is already used by your organisation, that (possibly customised) set is used; otherwise the standard set is assigned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| region_code | No | ||
| country_code | No |