SAP BI Tools · Arazzo Workflow

SAP BI Tools Retire a Content Network Item

Version 1.0.0

Find a private content item by type, delete it from the Content Network, and confirm it is gone.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsBusiness IntelligenceData VisualizationReportingSAPArazzoWorkflows

Provider

sap-bi-tools

Workflows

retire-content-item
Delete a private content item and confirm its removal.
Finds the first private content item of a given type, deletes it, then confirms it is gone by checking the read returns a not-found status.
3 steps inputs: type outputs: confirmStatus, deleteStatus, firstItemId
1
findContent
List private content items of the requested type and capture the id of the first match.
2
deleteContent
Delete the first matching private content item from the Content Network.
3
confirmGone
Attempt to read the deleted item back; a not-found status confirms the item was removed.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: SAP BI Tools Retire a Content Network Item
  summary: Find a private content item by type, delete it from the Content Network, and confirm it is gone.
  description: >-
    A content-retirement pattern for SAP Analytics Cloud. The workflow lists
    private content items of a requested type, deletes the first match from the
    Content Network, and then attempts to read the deleted item back, ending
    cleanly when the read returns a not-found status that confirms removal. The
    Content Network uses OAuth 2.0 bearer authentication, so no logon token is
    threaded between steps. 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: contentItemsApi
  url: ../openapi/sap-bi-tools-content-items-api-openapi.yml
  type: openapi
workflows:
- workflowId: retire-content-item
  summary: Delete a private content item and confirm its removal.
  description: >-
    Finds the first private content item of a given type, deletes it, then
    confirms it is gone by checking the read returns a not-found status.
  inputs:
    type: object
    required:
    - type
    properties:
      type:
        type: string
        description: The content item type to retire (e.g. STORY, MODEL, PACKAGE).
  steps:
  - stepId: findContent
    description: >-
      List private content items of the requested type and capture the id of
      the first match.
    operationId: listContentItems
    parameters:
    - name: type
      in: query
      value: $inputs.type
    - name: visibility
      in: query
      value: PRIVATE
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstItemId: $response.body#/0/id
      firstItemName: $response.body#/0/name
    onSuccess:
    - name: contentFound
      type: goto
      stepId: deleteContent
      criteria:
      - context: $response.body
        condition: $.length > 0
        type: jsonpath
    - name: nothingToRetire
      type: end
      criteria:
      - context: $response.body
        condition: $.length == 0
        type: jsonpath
  - stepId: deleteContent
    description: Delete the first matching private content item from the Content Network.
    operationId: deleteContentItem
    parameters:
    - name: itemId
      in: path
      value: $steps.findContent.outputs.firstItemId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      deleteStatus: $statusCode
  - stepId: confirmGone
    description: >-
      Attempt to read the deleted item back; a not-found status confirms the
      item was removed.
    operationId: getContentItem
    parameters:
    - name: itemId
      in: path
      value: $steps.findContent.outputs.firstItemId
    successCriteria:
    - condition: $statusCode == 404
    outputs:
      confirmStatus: $statusCode
  outputs:
    firstItemId: $steps.findContent.outputs.firstItemId
    deleteStatus: $steps.deleteContent.outputs.deleteStatus
    confirmStatus: $steps.confirmGone.outputs.confirmStatus

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/sap-bi-tools-retire-content-item-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.