Set the profile picture
Makes an already-uploaded image the calling property manager's profile picture, replacing whatever was there before.
Authorization
AuthorizationstringrequiredBody
application/json
uploadSessionIdstringrequiredThe upload session holding the image. A Snowflake id sent as a decimal string.
Response
200 · The property manager with the new picture in `image`.
idstringThe property manager. A Snowflake id sent as a decimal string.
companyIdstringThe company this property manager belongs to.
emailstringEmail address, which is also the sign-in name.
phonestringPhone number. Absent when none was recorded.
firstNamestringFirst name.
lastNamestringLast name. Absent when none was recorded.
activebooleanWhether the account is enabled.
createdstring · date-timeWhen the account was created, in the company's timezone.
lastSeenstring · date-timeWhen the account was last used, in the company's timezone. Absent when it never has been.
namestringFirst and last name joined with a space. Computed, not stored.
imageIdstringThe file holding the profile picture. Absent when there is none.
imageobjectPre-signed URLs for the profile picture. Absent when there is none.
401 · The access token is missing, expired, or not valid for this company.
422 · The account has been deactivated.
An API key acts as the property manager who created it. Everything under /company-app/me therefore describes that person, not the machine calling the API. If several integrations share one key, they all read and write the same profile.