Delete

This endpoint allows to remove access to the device from the user. To remove access from user you need to be owner or administrator of the device.

DELETE https://api.tedee.com/api/v1.30/my/deviceshare/{deviceShareId}

URI Parameters

Name

Type

Description

deviceShareId

number

id of share to delete

Responses

Name

Description

204 No Content

successful operation

Scopes

Name

Description

DeviceShare.ReadWrite

Grants user possibility to read and write data connected with device shares

Examples

Remove access to the device

Sample request

curl -X DELETE "https://api.tedee.com/api/v1.30/my/deviceshare/15" -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
}