Skip to content
apigent rename

apigent rename

Give a saved request a new name. Scripts that call apigent.setNextRequest("old-name") are not updated, so change them too.

Synopsis

apigent rename <old-name> <new-name>

Flags

None.

Aliases

  • mv
  • ren

Examples

Rename a request

apigent rename "get user" "get-user"

Rename, then confirm

apigent rename "orders" "list-orders"
apigent show "list-orders"

Related commands