Add user to apartment
Allows to add user to apartment
Path Parameters
- user-uid integer required
Possible values:
>= 1
Unique Identifier for User Item
- apartment-uid integer required
Possible values:
>= 1
Unique Identifier for Apartment Item
- application/json
Request Body required
- owner_type string required
Possible values: [
owner
,guest
]Identifier owner type
Responses
- 200
- 400
- 401
- 403
OK
No such user or apartment
- application/json
- Schema
- Example (from schema)
- No such user or apartment
Schema
- error string
Error message
{
"error": true
}
{
"error": "No such user or apartment"
}
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"
}
Loading...