HTTP Drop Delete


Request


To delete a single Drop from a Flow: DELETE https://api.flowthings.io/v0.1/<account_id>/drop/<flowId>/<dropId>

To delete all Drops from a Flow: DELETE https://api.flowthings.io/v0.1/<account_id>/drop/<flowId>

Headers

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

Response


HTTP Codes

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

Example Single Drop Delete

DELETE https://api.flowthings.io/v0.1/<account_id>/drop/f54028dca0cf2ee54bcc4cf10/f54028dca0cf2ee54bcc4cf11

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

Example Multiple Drop Delete


DELETE https://api.flowthings.io/v0.1/<account_id>/drop/f54028dca0cf2ee54bcc4cf10

{
  "head": {
    "status": 200,
    "ok": true,
    "messages": [
      "Your request has been processed successfully. All drops in flow f54028dca0cf2ee54bcc4cf10 have been deleted."
    ],
    "errors": []
  },
  "body": {}
}