5.10.3 api log unsubscribe

The /api/log/unsubscribe function helps you close the subscription channel with the given identifier. When the function has been executed, the given identifier cannot be used, i.e. all subsequent /api/log/pull or /api/log/unsubscribe calls with the same identifier will end up with an error.

The function is part of the Logging service and requires no special user privileges.

The GET or POST method can be used for this function.

Request parameters:

Parameter

TypeMandatory

Default value

Description

id

uint32Yes

Identifier of the existing channel obtained by preceding dialling of /api/log/subscribe

The reply is in the application/json format and includes no parameters.

Example:

GET /api/log/unsubscribe?id=21458715
{
  "success" : true,
}