# Update an ambassador **PATCH /chat/ambassadors/{ambassador}** ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters ### Path parameters - **ambassador** (integer) The ambassador id ### Body: application/json (object) - **email_tmp** (string(nullable)) ## Responses ### 200 Return the updated ambassador #### Body: application/json (object) - **id_ambassador** (integer(int32)) - **image** (string) - **firstname** (string) - **lastname** (string) - **username** (string) - **email** (string) - **email_tmp** (string) - **active** (integer(int32)) - **status** (integer(int32)) - **online** (boolean) true: when last_action_date is less than 5 minutes ago - **last_action_date** (string(date-time)) - **customer_id** (string) - **anonymized** (boolean) ### 401 Unauthorized. #### Body: application/json (object) - **message** (string) ### 403 Forbidden - You don't have permission to access this route ### 404 Not found - The ambassador does not exist ### 422 Unprocessable Content #### Body: application/json (object) - **message** (string) Error message. - **errors** (object) [Powered by Bump.sh](https://bump.sh)