Skip to main content

Synopsis

Unarchive a rego policy. Returns an archived rego policy to kosli list rego-policies, without creating a version. Unarchiving a policy that is not archived changes nothing. Only an org admin can unarchive.

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 26, 2026