Upload an external agent photo

POSThttp://localhost:4000/api/externalAgents/updateExternalAgentProfilePhoto

Uploads or replaces the profile photo. Send the request as multipart/form-data, with the file in a field called profilePhotoFile.

Your API key needs the externalAgents.MANAGE permission.

Body Params

externalAgentIdintegerrequired

ID of the external agent.

profilePhotoFilestringrequired

The image file.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.