Skip to main content

MQTT useful commands and informations

Kickout a client​

Given <api-host>, <api-http-port> and <client-id>, an HTTP request is sufficient to kickout a client:

DELETE http://<api-host>:<api-http-port>/api/v2/clients/<client-id>

or with CURL:

curl -I -X 'DELETE' http://<api-host>:<api-http-port>/api/v2/clients/<client-id>

If APIs are protected, you have to specify Basic Auth parameters:

DELETE http://<username>:<password>@<api-host>:<api-http-port>/api/v2/clients/<client-id>

or with CURL:

curl -I -X 'DELETE' http://<username>:<password>@<api-host>:<api-http-port>/api/v2/clients/<client-id>