Skip to main content

Synopsis

Rename a Kosli environment. After renaming, the old name still resolves to this environment for both reads and writes: kosli get environment, kosli list snapshots and similar queries return it, and kosli snapshot commands that still use the old name report into it. The only operation that requires the current name is a further rename. The old name stops resolving once another environment is created with, or renamed to, that name. From then on, commands using the old name act on the new environment.

Flags

Flags inherited from parent commands

Examples Use Cases

These examples all assume that the flags --api-token, --org, --host, (and --flow, --trail when required), are set/provided.
Last modified on November 3, 2026