capabilities.work

Environment Lifecycle

A 4-step recipe with Postman. We can help you get access.

Recipe · 4 steps

Environment Lifecycle

with Postman

Walk an environment through create, get, update, and delete.

  1. Create the environment with its initial set of variables.
  2. Read the environment back to confirm its name and variables.
  3. Replace the environment's variables with an updated set. This replaces the entire variable list.
  4. Delete the environment to clean up. This action is irreversible.
What you'll need to have ready
  • environmentName: The name of the environment to create.
  • workspace: Optional workspace ID to create the environment in.
  • initialValues: The initial environment variables (key/value/type/enabled).
  • updatedValues: The replacement environment variables to apply on update.
For your developer

Arazzo workflow postman:environment-crud, 4 operations: createEnvironment → getEnvironment → putEnvironment → deleteEnvironment. Specs on APIs.io.