Unlock
Send a command to unlock the gate with provided id.
Running this operation requires the user to have active BleBox integration and active permission to the gate.
After successful operation, the gate will be unlocked.
If you want to get familiar with the whole flow how to manage and operate gates, please refer to our tutorial: How to manage and operate gates.
POST https://api.tedee.com/api/v1.33/my/gate/{id}/operation/unlock
URI Parameters
Name |
Type |
Description |
---|---|---|
id |
number |
id of gate |
Responses
Name |
Description |
---|---|
204 No Content |
Successful operation |
403 Forbidden |
The user doesn’t have active permission (share) to the gate |
404 Not Found |
Gate not found |
412 Precondition Failed |
The user doesn’t have active BleBox integration |
423 Locked |
Gate is disconnected |
Scopes
Name |
Description |
---|---|
Device.ReadWrite |
Grants user possibility to read and write data connected with devices |
Lock.Operate |
Grants user possibility to operate locks |
Example
Unlock the gate
Sample request for gate with id = 123
curl -X POST "https://api.tedee.com/api/v1.33/my/gate/123/operation/unlock" -H "accept: application/json" -H "Content-Type: application/json-patch+json" -H "Authorization: Bearer <<access token>>"
Sample response
HTTP status code: 204
{
"success": true,
"errorMessages": [],
"statusCode": 204
}