notification/unsubscribe

Unsubscribes from device notifications.

Request Message

Authorization

Access JSON Web Token (GetDeviceNotification)

Message Representation

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

Message Parameters

Property NameRequiredTypeDescription
actionYesstringAction name: notification/unsubscribe
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
subscriptionIdNointegerAn 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 NameTypeDescription
actionstringAction name: notification/unsubscribe
statusstringOperation execution status (success or error).
requestIdobjectRequest unique identifier as specified in the request message.