Link residents to an apartment (v2)
|
POST /api/v2/billing/intercoms/{intercom}/flats/{flat}/users |
With the release of request version v2, version v1 is being moved to legacy.
For new integrations, use the current v2.
Version v1 remains available to support existing integrations.
Links users to an apartment. Resident permissions (such as opening the door with a code) are configured according to the panel settings, as when linking residents in the administrator interface. Returns 404 if the apartment belongs to another intercom.
{
"users": [
1001,
1002
]
}
Method parameters
int intercom required , Intercom ID (in the URL)
int flat required , Intercom apartment ID (in the URL)
array users required , User IDs, 1 to 100, without duplicates
|
204 |
|
Successful response |
|
404 |
|
Intercom not found or apartment belongs to another intercom |
|
422 |
|
Returns a JSON error object. For more information, see General information > Validation. JSON
|