HTTP Mqtt Connection Delete


When a task is deleted the connection it represents will be terminated.

Request


DELETE https://api.flowthings.io/v0.1/<account_id>/mqtt/<mqttTaskId>

Headers

NameDescription
Content-Typeapplication/json
X-Auth-TokenAuthentication Token

Response


HTTP Codes

CodeDescription
201Resource Deleted
400Bad Request
401Unauthorized
503Service Unavailable

Example Mqtt Task Delete

{
  "head": {
    "status": 200,
    "ok": true,
    "messages": [
      "Your request has been processed successfully. The requested resource has been deleted."
    ],
    "errors": []
  },
  "body": {}
}