ThingSpeak · Arazzo Workflow

ThingSpeak Decommission Channel

Version 1.0.0

Clear all feed entries from a channel, then delete the channel itself.

1 workflow 1 source API 1 provider
View Spec View on GitHub IoTInternet of ThingsAnalyticsTime SeriesMQTTMATLABSensorsTelemetryArazzoWorkflows

Provider

thingspeak

Workflows

decommission-channel
Clear a channel's feed and then delete the channel.
Clears all entries from the channel feed, then deletes the channel using the user API key.
2 steps inputs: channelId, userApiKey outputs: clearStatus, deleteStatus
1
clearChannelFeed
Delete all feed entries from the channel before removing it.
2
deleteChannel
Delete the now-empty channel.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ThingSpeak Decommission Channel
  summary: Clear all feed entries from a channel, then delete the channel itself.
  description: >-
    The teardown flow for retiring an IoT channel. It first clears every feed entry
    from the channel so no stored data lingers, then deletes the channel itself.
    Both operations require the User API Key on the THINGSPEAKAPIKEY header. Every
    step spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: channelsApi
  url: ../openapi/thingspeak-channels-api-openapi.yml
  type: openapi
workflows:
- workflowId: decommission-channel
  summary: Clear a channel's feed and then delete the channel.
  description: >-
    Clears all entries from the channel feed, then deletes the channel using the
    user API key.
  inputs:
    type: object
    required:
    - userApiKey
    - channelId
    properties:
      userApiKey:
        type: string
        description: User API Key sent on the THINGSPEAKAPIKEY header.
      channelId:
        type: integer
        description: Numeric id of the channel to clear and delete.
  steps:
  - stepId: clearChannelFeed
    description: >-
      Delete all feed entries from the channel before removing it.
    operationId: clearChannelFeed
    parameters:
    - name: channel_id
      in: path
      value: $inputs.channelId
    - name: THINGSPEAKAPIKEY
      in: header
      value: $inputs.userApiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      clearStatus: $statusCode
  - stepId: deleteChannel
    description: >-
      Delete the now-empty channel.
    operationId: deleteChannel
    parameters:
    - name: channel_id
      in: path
      value: $inputs.channelId
    - name: THINGSPEAKAPIKEY
      in: header
      value: $inputs.userApiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deleteStatus: $statusCode
  outputs:
    clearStatus: $steps.clearChannelFeed.outputs.clearStatus
    deleteStatus: $steps.deleteChannel.outputs.deleteStatus

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/thingspeak-decommission-channel-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.