Svix · Arazzo Workflow

Svix Decommission an Application

Version 1.0.0

List an application's endpoints, branch on whether one exists, delete it, then delete the application.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub WebhookWebhooks As A ServiceWebhook DeliveryWebhook SendingEvent-DrivenEventingMessagingPub-SubStreamingIngestIntegrationReliabilityRetriesDeliverabilitySigningVerificationHMACStandard WebhooksMulti-TenantMulti-RegionEnterpriseSoftware-as-a-ServiceDeveloper PlatformRESTSOC 2HIPAAPCI DSSGDPROpen-SourceRustPolyglot SDKTerraformCLIArazzoWorkflows

Provider

svix

Workflows

decommission-application
Remove an application's endpoint and then delete the application.
Lists the application's endpoints, and when at least one exists deletes the first endpoint, then deletes the application in all cases.
3 steps inputs: appId outputs: deletedEndpointId
1
listEndpoints
List the application's endpoints to find any that must be removed first. Returns 200 with a paged endpoint list.
2
deleteEndpoint
Delete the first endpoint found on the application. Returns 204 No Content.
3
deleteApplication
Delete the application itself once its endpoint has been removed. Returns 204 No Content.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Svix Decommission an Application
  summary: List an application's endpoints, branch on whether one exists, delete it, then delete the application.
  description: >-
    Cleanly tearing down a tenant in Svix means removing its endpoints before
    removing the application. This workflow lists the application's endpoints,
    branches on whether any endpoint is present, deletes the first endpoint when
    one exists, and then deletes the application itself. 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: applicationApi
  url: ../openapi/svix-application-api-openapi.yml
  type: openapi
- name: endpointApi
  url: ../openapi/svix-endpoint-api-openapi.yml
  type: openapi
workflows:
- workflowId: decommission-application
  summary: Remove an application's endpoint and then delete the application.
  description: >-
    Lists the application's endpoints, and when at least one exists deletes the
    first endpoint, then deletes the application in all cases.
  inputs:
    type: object
    required:
    - appId
    properties:
      appId:
        type: string
        description: The id or uid of the application to decommission.
  steps:
  - stepId: listEndpoints
    description: >-
      List the application's endpoints to find any that must be removed first.
      Returns 200 with a paged endpoint list.
    operationId: v1.endpoint.list
    parameters:
    - name: app_id
      in: path
      value: $inputs.appId
    - name: limit
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      endpointId: $response.body#/data/0/id
    onSuccess:
    - name: hasEndpoint
      type: goto
      stepId: deleteEndpoint
      criteria:
      - context: $response.body
        condition: $.data.length > 0
        type: jsonpath
    - name: noEndpoint
      type: goto
      stepId: deleteApplication
      criteria:
      - context: $response.body
        condition: $.data.length == 0
        type: jsonpath
  - stepId: deleteEndpoint
    description: >-
      Delete the first endpoint found on the application. Returns 204 No Content.
    operationId: v1.endpoint.delete
    parameters:
    - name: app_id
      in: path
      value: $inputs.appId
    - name: endpoint_id
      in: path
      value: $steps.listEndpoints.outputs.endpointId
    successCriteria:
    - condition: $statusCode == 204
  - stepId: deleteApplication
    description: >-
      Delete the application itself once its endpoint has been removed. Returns
      204 No Content.
    operationId: v1.application.delete
    parameters:
    - name: app_id
      in: path
      value: $inputs.appId
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    deletedEndpointId: $steps.listEndpoints.outputs.endpointId

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/svix-decommission-application-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.