1Password · Arazzo Workflow

1Password Rotate an Item Password

Version 1.0.0

Read an item, then apply a JSON Patch to replace its password field value.

1 workflow 1 source API 1 provider
View Spec View on GitHub Password ManagerPasswordsSecuritySecretsArazzoWorkflows

Provider

1password

Workflows

rotate-item-password
Replace an item's password field value with a JSON Patch operation.
Reads the target item to confirm it exists and capture its current version, then applies a JSON Patch replace operation that updates the password field value in place.
2 steps inputs: fieldPath, itemUuid, newValue, vaultUuid outputs: itemId, version
1
readItem
Read the target item to confirm it exists and capture its current version before applying the patch.
2
patchPassword
Apply a JSON Patch replace operation that updates the targeted field value in place, leaving the rest of the item intact.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: 1Password Rotate an Item Password
  summary: Read an item, then apply a JSON Patch to replace its password field value.
  description: >-
    A secret rotation pattern for 1Password Connect. The workflow reads the
    target item to capture its current version, then applies an RFC 6902 JSON
    Patch that replaces the password field value in place without rewriting the
    rest of the item. 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: itemsApi
  url: ../openapi/1password-items-api-openapi.yml
  type: openapi
workflows:
- workflowId: rotate-item-password
  summary: Replace an item's password field value with a JSON Patch operation.
  description: >-
    Reads the target item to confirm it exists and capture its current version,
    then applies a JSON Patch replace operation that updates the password field
    value in place.
  inputs:
    type: object
    required:
    - vaultUuid
    - itemUuid
    - fieldPath
    - newValue
    properties:
      vaultUuid:
        type: string
        description: The UUID of the vault containing the item.
      itemUuid:
        type: string
        description: The UUID of the item whose password is being rotated.
      fieldPath:
        type: string
        description: A JSON Pointer to the field value to replace (e.g. /fields/1/value).
      newValue:
        type: string
        description: The new value to write into the targeted field.
  steps:
  - stepId: readItem
    description: >-
      Read the target item to confirm it exists and capture its current version
      before applying the patch.
    operationId: getItemById
    parameters:
    - name: vaultUuid
      in: path
      value: $inputs.vaultUuid
    - name: itemUuid
      in: path
      value: $inputs.itemUuid
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      version: $response.body#/version
  - stepId: patchPassword
    description: >-
      Apply a JSON Patch replace operation that updates the targeted field value
      in place, leaving the rest of the item intact.
    operationId: patchItem
    parameters:
    - name: vaultUuid
      in: path
      value: $inputs.vaultUuid
    - name: itemUuid
      in: path
      value: $inputs.itemUuid
    requestBody:
      contentType: application/json
      payload:
      - op: replace
        path: $inputs.fieldPath
        value: $inputs.newValue
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      itemId: $response.body#/id
      version: $response.body#/version
  outputs:
    itemId: $steps.patchPassword.outputs.itemId
    version: $steps.patchPassword.outputs.version

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/1password-rotate-item-password-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.