Skip to content

fnox lease revoke ​

  • Usage: fnox lease revoke [-a --all] [TARGET]

Revoke leases by ID, ID prefix, or backend

Asks the lease backend to revoke each matching lease, then marks it revoked in the project's ledger. If the backend cannot revoke a lease, for example because its credentials only expire on their own, fnox warns and revokes only the ledger entry.

TARGET is a lease ID, a unique prefix of one (as shown by fnox lease list), or a backend name from [leases.<name>], which revokes every active lease of that backend. Use --all to revoke every active lease in the project. --all and backend names skip expired leases, which fnox lease cleanup handles; naming an expired lease by ID or prefix still revokes it.

Arguments ​

  • [TARGET] — Lease ID, unique ID prefix, or backend name

Flags ​

  • -a --all — Revoke every active lease in this project
  • -h --help — Print help

Examples ​

Revoke a lease

sh
fnox lease revoke LEASE_ID

Revoke a lease by a unique ID prefix

sh
fnox lease revoke aws-1a2b3c

Revoke every active lease of the aws backend

sh
fnox lease revoke aws

Revoke every active lease

sh
fnox lease revoke --all

See also ​

MIT LicenseCopyright © 2026jdx.dev