Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 1.99 KB

File metadata and controls

55 lines (44 loc) · 1.99 KB
title slug excerpt hidden metadata createdAt updatedAt
command/unsubscribe
commandunsubscribe
false
image robots
index
Wed Jul 12 2017 19:20:09 GMT+0000 (Coordinated Universal Time)
Tue Nov 07 2017 23:30:41 GMT+0000 (Coordinated Universal Time)

Unsubscribes from device commands.

Request Message

Authorization
Access JSON Web Token (GetDeviceCommand)

Message Representation

{
    "action": {string},
    "requestId": {object},
    "subscriptionId": {integer}
}

Message Parameters

Property Name Required Type Description
action Yes string Action name: command/unsubscribe
requestId No object Request unique identifier, will be passed back in the response message.
subscriptionId No integer An identifier of the previously made subscription to unsubscribe from. If not specified, unsubscribe from all user subscriptions.

Response Message

Message Representation

{
    "action": {string},
    "status": {string},
    "requestId": {object}
}

Message Parameters

Property Name Type Description
action string Action name: command/unsubscribe
status string Operation execution status (success or error).
requestId object Request unique identifier as specified in the request message.