Oracle Cloud Infrastructure · Arazzo Workflow

Oracle Cloud Teardown OKE Cluster

Version 1.0.0

List a cluster's node pools, delete the first node pool, then delete the cluster.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Cloud ComputingEnterprise CloudInfrastructure-as-a-ServiceOraclePlatform-as-a-ServiceComputeObject StorageIdentity and Access ManagementDatabaseKubernetesServerlessMonitoringEvent-DrivenArazzoWorkflows

Provider

oracle-cloud

Workflows

teardown-oke-cluster
Delete an OKE cluster's node pool, then delete the cluster.
Confirms the cluster, lists its node pools, deletes the first node pool, and deletes the cluster.
4 steps inputs: clusterId, compartmentId outputs: deletedClusterId, deletedNodePoolId
1
getCluster
Confirm the cluster exists before deleting its node pools.
2
listNodePools
List the node pools that belong to the cluster.
3
deleteNodePool
Delete the first node pool returned for the cluster.
4
deleteCluster
Delete the cluster once its node pools are removed.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Oracle Cloud Teardown OKE Cluster
  summary: List a cluster's node pools, delete the first node pool, then delete the cluster.
  description: >-
    Decommissions a managed Kubernetes (OKE) cluster by removing its node pools
    first. The workflow confirms the cluster, lists its node pools, deletes the
    first node pool returned, and then deletes the cluster. Every step spells out
    its request inline so the teardown flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: clustersApi
  url: ../openapi/oracle-cloud-clusters-api-openapi.yml
  type: openapi
- name: nodePoolsApi
  url: ../openapi/oracle-cloud-node-pools-api-openapi.yml
  type: openapi
workflows:
- workflowId: teardown-oke-cluster
  summary: Delete an OKE cluster's node pool, then delete the cluster.
  description: >-
    Confirms the cluster, lists its node pools, deletes the first node pool, and
    deletes the cluster.
  inputs:
    type: object
    required:
    - compartmentId
    - clusterId
    properties:
      compartmentId:
        type: string
        description: The OCID of the compartment containing the cluster.
      clusterId:
        type: string
        description: The OCID of the cluster to tear down.
  steps:
  - stepId: getCluster
    description: Confirm the cluster exists before deleting its node pools.
    operationId: getCluster
    parameters:
    - name: clusterId
      in: path
      value: $inputs.clusterId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      clusterName: $response.body#/name
  - stepId: listNodePools
    description: List the node pools that belong to the cluster.
    operationId: listNodePools
    parameters:
    - name: compartmentId
      in: query
      value: $inputs.compartmentId
    - name: clusterId
      in: query
      value: $inputs.clusterId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nodePoolId: $response.body#/0/id
  - stepId: deleteNodePool
    description: Delete the first node pool returned for the cluster.
    operationId: deleteNodePool
    parameters:
    - name: nodePoolId
      in: path
      value: $steps.listNodePools.outputs.nodePoolId
    successCriteria:
    - condition: $statusCode == 204
  - stepId: deleteCluster
    description: Delete the cluster once its node pools are removed.
    operationId: deleteCluster
    parameters:
    - name: clusterId
      in: path
      value: $inputs.clusterId
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    deletedClusterId: $inputs.clusterId
    deletedNodePoolId: $steps.listNodePools.outputs.nodePoolId

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/oracle-cloud-teardown-oke-cluster-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.