Postman · Arazzo Workflow

Postman Environment Lifecycle

Version 1.0.0

Create, read, update, and delete a Postman environment with variables.

1 workflow 1 source API 1 provider
View Spec View on GitHub AI Agent BuilderAI AgentsAPI CatalogAPI ClientAPI DesignAPI DevelopmentAPI DocumentationAPI GovernanceAPI LifecycleAPI MonitoringAPI NetworkAPI PlatformAPI TestingAudit LogsAutomationCI/CDCollaborationCollectionComplianceDiscoveryEnvironmentsFlowsGraphQLgRPCHTTPInsightsMCPMCP GeneratorMock ServersMockingMonitorsNewmanOpenAPIPlatformPrivate API NetworkPublic API NetworkSecret ScanningSpec HubSpecificationsSSOTestingVaultWebSocketWorkflowsWorkspacesArazzoWorkflows

Provider

postman

Workflows

environment-crud
Walk an environment through create, get, update, and delete.
Creates an environment with variables, retrieves it, replaces its variable set, and deletes it, chaining the environment ID through each step.
4 steps inputs: environmentName, initialValues, updatedValues, workspace outputs: deletedId, environmentId, environmentUid
1
createEnvironment
Create the environment with its initial set of variables.
2
getEnvironment
Read the environment back to confirm its name and variables.
3
updateEnvironment
Replace the environment's variables with an updated set. This replaces the entire variable list.
4
deleteEnvironment
Delete the environment to clean up. This action is irreversible.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Postman Environment Lifecycle
  summary: Create, read, update, and delete a Postman environment with variables.
  description: >-
    Exercises the full lifecycle for a Postman environment and its variables.
    The workflow creates an environment with starter variables, reads it back,
    replaces the variable set with an updated list, and finally deletes it. 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: environmentsApi
  url: ../openapi/postman-environments-api-openapi.yml
  type: openapi
workflows:
- workflowId: environment-crud
  summary: Walk an environment through create, get, update, and delete.
  description: >-
    Creates an environment with variables, retrieves it, replaces its variable
    set, and deletes it, chaining the environment ID through each step.
  inputs:
    type: object
    required:
    - environmentName
    - initialValues
    - updatedValues
    properties:
      environmentName:
        type: string
        description: The name of the environment to create.
      workspace:
        type: string
        description: Optional workspace ID to create the environment in.
      initialValues:
        type: array
        description: The initial environment variables (key/value/type/enabled).
        items:
          type: object
      updatedValues:
        type: array
        description: The replacement environment variables to apply on update.
        items:
          type: object
  steps:
  - stepId: createEnvironment
    description: >-
      Create the environment with its initial set of variables.
    operationId: createEnvironment
    parameters:
    - name: workspace
      in: query
      value: $inputs.workspace
    requestBody:
      contentType: application/json
      payload:
        environment:
          name: $inputs.environmentName
          values: $inputs.initialValues
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      environmentId: $response.body#/environment/id
      environmentUid: $response.body#/environment/uid
  - stepId: getEnvironment
    description: >-
      Read the environment back to confirm its name and variables.
    operationId: getEnvironment
    parameters:
    - name: environmentId
      in: path
      value: $steps.createEnvironment.outputs.environmentId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      values: $response.body#/environment/values
  - stepId: updateEnvironment
    description: >-
      Replace the environment's variables with an updated set. This replaces
      the entire variable list.
    operationId: putEnvironment
    parameters:
    - name: environmentId
      in: path
      value: $steps.createEnvironment.outputs.environmentId
    requestBody:
      contentType: application/json
      payload:
        environment:
          name: $inputs.environmentName
          values: $inputs.updatedValues
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updatedUid: $response.body#/environment/uid
  - stepId: deleteEnvironment
    description: >-
      Delete the environment to clean up. This action is irreversible.
    operationId: deleteEnvironment
    parameters:
    - name: environmentId
      in: path
      value: $steps.createEnvironment.outputs.environmentId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deletedId: $response.body#/environment/id
  outputs:
    environmentId: $steps.createEnvironment.outputs.environmentId
    environmentUid: $steps.createEnvironment.outputs.environmentUid
    deletedId: $steps.deleteEnvironment.outputs.deletedId

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/postman-environment-crud-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.