Replace a technician's service areas
replaceTechnicianServiceAreasReplace a technician's service areas with a new set of IDs, or clear them all. Ensures all IDs belong to the same business before overwriting.
Instructions
Replace a technician's service areas
Overwrites the technician's service-area assignments with the provided set of service area IDs. Sending an empty list clears all. Each service area ID must belong to the same business — any missing id → 404 SERVICE_AREA_NOT_FOUND with missing_ids and no writes. The resolved set is returned and also embedded as service_areas in the technician GET/list response. Managed by business staff (Booking Coordinator), not tech self-service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Technician ID | |
| service_area_ids | No | Service-area ids (max 50). Discover via GET /service-areas. |