Access control
Create AccessPoint
Toegang
Lid van de organisatie met dit recht:
access-control:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Creates a new access point
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
name*stringtype*stringValue in
"ENTRANCE""EXIT"description?stringactuatorType?stringValue in
"CONNECTOR""SHELLY""UNIFI"openConfig?not (unknown)closeConfig?not (unknown)dialPinCodes?OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//access-points' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "ENTRANCE"}'Example Response
null