Update an agentAsk AIpatch https://api.repliers.io/agents/{agentId}Use this endpoint to update information associated with an agent.Path ParamsagentIdint32requiredBody ParamsfnamestringThe first name of the agent.lnamestringThe last name of the agent.phonestringThe mobile phone number of the agent. Must be 11 digits in length.Regex pattern: ^(1)([0-9]{10})$emailstringThe email address of the agent.Regex pattern: ^(([^<>()[]\.,;:\s@"]+(.[^<>()[]\.,;:\s@"]+)*)|(".+"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))brokeragestringThe name of the Brokerage/Office that this agent is registered with.designationstringThis agent's designation. For example, "Sales Representative"avatarstringA URL/Path to an avatar/picture of this agent.statusbooleanDefaults to trueIf false, disables all operations for the agent.truefalselocationobjectlocation objectexternalIdstringThe externalId is intended for storing agent identifiers from external systems (such as CRMs) for reference purposes.Responses 200200 400Bad RequestUpdated 10 months ago