Temporal · Arazzo Workflow

Temporal Delete a Namespace and Confirm Removal

Version 1.0.0

Verify a Namespace exists, delete it, then confirm it is gone.

1 workflow 1 source API 1 provider
View Spec View on GitHub Pro-Code-API-CompositionWorkflowsArazzoWorkflows

Provider

temporal

Workflows

delete-namespace
Confirm, delete, and verify removal of a Namespace.
Chains getNamespace (confirm it exists), deleteNamespace (remove it), and a final getNamespace that branches on the 404 status to verify deletion.
3 steps inputs: bearerToken, namespace outputs: finalStatus, stateBeforeDelete
1
confirmExists
Read the Namespace to confirm it exists before deleting and capture its current state for the record.
2
deleteNamespace
Delete the Namespace. A 200 indicates the control plane accepted the deletion request.
3
verifyGone
Re-read the Namespace expecting a 404 Not Found, which confirms the Namespace has been removed from the account.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Temporal Delete a Namespace and Confirm Removal
  summary: Verify a Namespace exists, delete it, then confirm it is gone.
  description: >-
    Decommissioning a Temporal Cloud Namespace should be deliberate. This
    workflow first reads the Namespace to confirm it exists and to capture its
    last state, issues the delete, and then re-reads the Namespace expecting a
    404 to confirm the resource was removed. 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
  x-realizes-capability-ids:
  - BC-4230.10
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4230.10
      capability_name: Tenant Provisioning & Lifecycle
      spec: temporal-namespaces-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: namespacesApi
  url: ../openapi/temporal-namespaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: delete-namespace
  summary: Confirm, delete, and verify removal of a Namespace.
  description: >-
    Chains getNamespace (confirm it exists), deleteNamespace (remove it), and a
    final getNamespace that branches on the 404 status to verify deletion.
  inputs:
    type: object
    required:
    - bearerToken
    - namespace
    properties:
      bearerToken:
        type: string
        description: API key used as the Bearer token for Authorization.
      namespace:
        type: string
        description: The Namespace identifier to delete.
  steps:
  - stepId: confirmExists
    description: >-
      Read the Namespace to confirm it exists before deleting and capture its
      current state for the record.
    operationId: getNamespace
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.bearerToken"
    - name: namespace
      in: path
      value: $inputs.namespace
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      stateBeforeDelete: $response.body#/state
  - stepId: deleteNamespace
    description: >-
      Delete the Namespace. A 200 indicates the control plane accepted the
      deletion request.
    operationId: deleteNamespace
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.bearerToken"
    - name: namespace
      in: path
      value: $inputs.namespace
    successCriteria:
    - condition: $statusCode == 200
  - stepId: verifyGone
    description: >-
      Re-read the Namespace expecting a 404 Not Found, which confirms the
      Namespace has been removed from the account.
    operationId: getNamespace
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.bearerToken"
    - name: namespace
      in: path
      value: $inputs.namespace
    successCriteria:
    - condition: $statusCode == 404
    outputs:
      finalStatus: $statusCode
  outputs:
    stateBeforeDelete: $steps.confirmExists.outputs.stateBeforeDelete
    finalStatus: $steps.verifyGone.outputs.finalStatus

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/temporal-delete-namespace-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.