hosted:repository:transfer

Transfer ownership of a hosted repository to another member; you remain admin.

Reference for flywheel hosted:repository:transfer.

Transfer ownership of a hosted repository to another member; you remain an admin. This is irreversible: it requires --new-owner with a different member's principal UUID and --confirm with the exact repository UUID. It changes which user the hosted repository belongs to.

Command Group

Hosted Repository

Summary

Transfer ownership of a hosted repository to another member; you remain admin.

Usage

flywheel hosted:repository:transfer <FLAGS> <repository_id>

Arguments

ArgumentRequiredChoicesDescription
<repository_id>YesHosted repository UUID.

Required flags

FlagValueDefaultChoicesDescription
--new-ownerstringPrincipal UUID of the member who becomes owner; it must differ from your own.
--confirmstringRepeat the repository UUID exactly; this write is irreversible and --yes does not replace it.

Optional flags

FlagValueDefaultChoicesDescription
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Hand the repository to another member and stay on as admin.

flywheel hosted:repository:transfer <repository_id> --new-owner <principal_id> --confirm <repository_id>