Add or update image profile photo
- Add or update image profile photo, used for apartment book in the web/GUI. Supports any image file type in any resolution, after upload any file scales to 500x500 px max.
- This feature is available only in AA-14FB panel
Path Parameters
- apartment-uid integer required
Possible values:
>= 1
Unique Identifier for Apartment Item
- multipart/form-data
Request Body
- file binary required
Image file in .jpg extension
Responses
- 200
- 400
- 401
- 403
- 404
OK
- text/html
- Schema
Schema
- string
- Wrong apartment uid
- Wrong image file
- application/json
- Schema
- Example (from schema)
- Wrong uid
- Wrong Image
Schema
- error string
Error message
{
"error": "Wrong JSON body"
}
{
"error": "Wrong apartment uid"
}
{
"error": "Wrong image file"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
Error message
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
This feature is disabled on your device
Loading...