Anthropic · Arazzo Workflow

Anthropic Provision and Promote a Workspace Member

Version 1.0.0

Create a workspace, add a member as a developer, then promote them to workspace admin.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceClaudeFoundation ModelsLarge Language ModelsMachine-LearningMCPAgentsArazzoWorkflows

Provider

anthropic

Workflows

provision-and-promote-member
Create a workspace, add a developer, then promote them.
Creates a workspace, adds a user with the workspace_developer role, and then updates that membership to the requested elevated role.
3 steps inputs: adminApiKey, promotedRole, userId, workspaceName outputs: memberUserId, promotedRole, workspaceId
1
createWorkspace
Create a new workspace to provision the member into.
2
addDeveloper
Add the user to the workspace at the workspace_developer role as the starting access level.
3
promoteMember
Promote the member by updating their workspace membership to the requested elevated role.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Anthropic Provision and Promote a Workspace Member
  summary: Create a workspace, add a member as a developer, then promote them to workspace admin.
  description: >-
    An Admin API role-escalation flow. The workflow creates a workspace, adds a
    user as a workspace developer, and then promotes that same user to a higher
    workspace role by updating their membership. Every step spells out its
    request inline — including the inline admin x-api-key and anthropic-version
    headers the spec defines — 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
  - BC-4230.50
  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: anthropic-workspaces-api-openapi.yml
      confidence: 0.7
    - capability_id: BC-4230.50
      capability_name: Tenant Identity Federation
      spec: anthropic-workspace-members-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: workspaceMembersApi
  url: ../openapi/anthropic-workspace-members-api-openapi.yml
  type: openapi
- name: workspacesApi
  url: ../openapi/anthropic-workspaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-and-promote-member
  summary: Create a workspace, add a developer, then promote them.
  description: >-
    Creates a workspace, adds a user with the workspace_developer role, and then
    updates that membership to the requested elevated role.
  inputs:
    type: object
    required:
    - adminApiKey
    - workspaceName
    - userId
    - promotedRole
    properties:
      adminApiKey:
        type: string
        description: An Anthropic Admin API key (starts with sk-ant-admin...) sent in x-api-key.
      workspaceName:
        type: string
        description: Name for the new workspace (1 to 40 characters).
      userId:
        type: string
        description: The id of the user to add and then promote.
      promotedRole:
        type: string
        description: >-
          The elevated workspace role to promote the member to (e.g.
          workspace_admin).
  steps:
  - stepId: createWorkspace
    description: >-
      Create a new workspace to provision the member into.
    operationId: createWorkspace
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.adminApiKey
    - name: anthropic-version
      in: header
      value: "2023-06-01"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.workspaceName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      workspaceId: $response.body#/id
  - stepId: addDeveloper
    description: >-
      Add the user to the workspace at the workspace_developer role as the
      starting access level.
    operationId: addWorkspaceMember
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.adminApiKey
    - name: anthropic-version
      in: header
      value: "2023-06-01"
    - name: workspace_id
      in: path
      value: $steps.createWorkspace.outputs.workspaceId
    requestBody:
      contentType: application/json
      payload:
        user_id: $inputs.userId
        workspace_role: workspace_developer
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      memberUserId: $response.body#/user_id
      startingRole: $response.body#/workspace_role
  - stepId: promoteMember
    description: >-
      Promote the member by updating their workspace membership to the requested
      elevated role.
    operationId: updateWorkspaceMember
    parameters:
    - name: x-api-key
      in: header
      value: $inputs.adminApiKey
    - name: anthropic-version
      in: header
      value: "2023-06-01"
    - name: workspace_id
      in: path
      value: $steps.createWorkspace.outputs.workspaceId
    - name: user_id
      in: path
      value: $steps.addDeveloper.outputs.memberUserId
    requestBody:
      contentType: application/json
      payload:
        workspace_role: $inputs.promotedRole
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      promotedRole: $response.body#/workspace_role
  outputs:
    workspaceId: $steps.createWorkspace.outputs.workspaceId
    memberUserId: $steps.addDeveloper.outputs.memberUserId
    promotedRole: $steps.promoteMember.outputs.promotedRole

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/anthropic-provision-and-promote-workspace-member-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.