Delete gate

Deletes the gate with specified id.

After running this endpoint, the gate will disappear from your Tedee account.

Warning

The gate will be added as a new device during the next synchronization between the Tedee and Blebox systems. If you want to delete the gate permanently, you must delete it from your BleBox account first.

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.

DELETE https://api.tedee.com/api/v1.30/my/gate/{id}

URI Parameters

Name

Type

Description

id

number

id of gate

Responses

Name

Description

204 No Content

successful operation

404 Not Found

gate not found

Scopes

Name

Description

Device.ReadWrite

Grants user possibility to read and write data connected with devices

Examples

Delete gate

Sample request

curl -X DELETE "https://api.tedee.com/api/v1.30/my/gate/123" -H "accept: application/json" -H "Content-Type: application/json-patch+json" -H "Authorization: Bearer <<access token>>" -d "<<body>>"

Sample response

HTTP status code: 204

{
    "success": true,
    "errorMessages": [],
    "statusCode": 204
}