arazzo: 1.0.1 info: title: 1Password Decommission an Item summary: Confirm an item exists, then permanently delete it from its vault. description: >- A safe deletion pattern for 1Password Connect. The workflow first reads the target item to confirm it exists and to capture identifying metadata for the audit trail, then permanently deletes the item from its vault. Each 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: connectApi url: ../openapi/1password-connect-openapi.yml type: openapi workflows: - workflowId: decommission-item summary: Verify an item exists and then permanently delete it from its vault. description: >- Reads the target item to confirm it exists and capture its title for the audit trail, then permanently deletes the item from its vault. inputs: type: object required: - vaultUuid - itemUuid properties: vaultUuid: type: string description: The UUID of the vault containing the item. itemUuid: type: string description: The UUID of the item to decommission. steps: - stepId: confirmItem description: >- Read the target item to confirm it exists and capture its title before deletion. operationId: getItemById parameters: - name: vaultUuid in: path value: $inputs.vaultUuid - name: itemUuid in: path value: $inputs.itemUuid successCriteria: - condition: $statusCode == 200 outputs: itemId: $response.body#/id title: $response.body#/title - stepId: deleteItem description: >- Permanently delete the confirmed item from its vault. This action cannot be undone. operationId: deleteItem parameters: - name: vaultUuid in: path value: $inputs.vaultUuid - name: itemUuid in: path value: $steps.confirmItem.outputs.itemId successCriteria: - condition: $statusCode == 204 outputs: statusCode: $statusCode outputs: deletedItemId: $steps.confirmItem.outputs.itemId deletedTitle: $steps.confirmItem.outputs.title