Set Occupant's Profile Image

Sets an Occupant's profile image based on a provided external url location. The api will retrieve the image, crop to 140x140px, compress the resulting file, and host it within Maptician's environment. The final url of the Maptician hosted profile image is returned. Cropping occurs from the center point of the image file.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The user identifier for the Occupant whose profile image is being uploaded.

Body Params

A property 'profile' must be provided that contains an accessible url to a valid image file (png,jpg).

url
required
Headers
string
required

Authorization token to access the API.

Responses

400

Invalid API request

401

Access token is missing or invalid

500

Unexpected Server Error

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json