Delete

Deletes selected pin for the given lock.

DELETE https://api.tedee.com/api/v1.30/my/lock/{id}/pin/{pinId}

URI Parameters

Name

Type

Description

id

number

id of the lock

pinId

number

id of the pin

Responses

Name

Description

204 No Content

successful operation

403 Forbidden

user doesn’t have permission to the lock

404 Not Found

pin not found

408 Request Timeout

timeout while sending data to the device

409 Conflict

other request is currently processing

Scopes

Name

Description

Device.ReadWrite

Grants user possibility to read and write data connected with devices

Examples

Delete pin with id 2 for the lock with id 1

Sample request

curl -X DELETE "https://api.tedee.com/api/v1.30/my/lock/1/pin/2" -H "accept: application/json" -H "Authorization: Bearer <<access token>>"

Sample response

HTTP status code: 204

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