HTTP Token Delete


When a Token is deleted, the system will no longer allow its use in Authentication.

Request


DELETE https://api.flowthings.io/v0.1/<account_id>/token/<tokenId>

Headers

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

Response


HTTP Codes

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

Example Token Delete

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