WhyDocsPricingDownloadChangelogGitHub

Documentation

  • Docs
    • Getting Started
      • Installation
      • Quick start
    • Concepts
      • Files-first
      • The hierarchy
      • OpenAPI as the source of truth
      • Instance visibility
      • Environments
    • Guides
      • Importing a spec
      • Migrating from Postman
      • Importing HAR traffic
      • Defining & promoting operations
      • Request instances
      • Auth & middlewares
      • Writing workflows
      • CI/CD
      • Documenting an API
      • Pro license
    • Interface
      • Navigation
      • History
      • Command palette
      • Keyboard shortcuts
    • Reference
      • File formats
        • config.json
        • api.json
        • _resource.json
        • Request instances
        • Environment files
        • schema.rules.json
        • Documentation files
        • Workflow files
    • CLI reference
      • project
      • api
      • schema
      • import
      • spec
      • req
        • list
        • rename
        • duplicate
        • set-visibility
        • run
      • env
      • workflow
      • license
      • completion
    • Plugins
      • Using plugins
      • Writing a plugin
CLI›req›rename

craftr req rename

Rename a request instance.

Usage

craftr req rename <resource/name> <new-name> [--api <api>]

Flags

FlagDescription
--api-aAPI slug.

Related commands

  • req list· List request instances, optionally filtered.
  • req duplicate· Duplicate a request instance. The copy is created as private.
  • req set-visibility· Change a request instance's visibility (public or private).
  • req run· Execute a request instance against an environment. Prints the response body by default.

See also

  • Request instances
  • Request instance format