# Update favorite agents **PUT /employees/{id}/favorite-agents** Update favorite agents for an employee within an office by its ID ## Servers - https://api.pexipengage.com/enterprises/acme: https://api.pexipengage.com/enterprises/acme () ## Authentication methods - O auth2 ## Parameters ### Headers - **Authorization** (string) Bearer token used for authorization - **X-Correlation-Id** (string) Unique identifier to allow referencing a particular transaction or event chain ### Path parameters - **id** (string) Primary identifier of the requested resource ### Query parameters - **office-id** (string) Office ID ### Body: application/json (array[string]) array[string] ## Responses ### 200 Successful operation #### Body: application/json (object) - **data** (array[object]) ### 404 Resource not found #### Body: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)