Skip to content

waldur-cli auth ssh-key delete

Delete ssh public keys. Batch-capable: pass several UUIDs, or omit them and pipe UUIDs in on stdin (one per line -- a bare UUID or a JSON object with a uuid field, so list --format ndjson composes directly). One failure doesn't stop the rest; the command exits non-zero afterward if any item failed.

Usage

1
waldur-cli auth ssh-key delete [UUID]...
Flag Type Description
[UUID]... positional, 0 or more uuid(s) of the resource. Reads from stdin if omitted.

Examples

1
waldur-cli auth ssh-key delete <uuid>

Several at once:

1
waldur-cli auth ssh-key delete <uuid-1> <uuid-2>

From a filtered list, without an intermediate jq:

1
waldur-cli auth ssh-key list --format ndjson --filter name_exact=example | waldur-cli auth ssh-key delete

Preview without deleting:

1
waldur-cli auth ssh-key delete <uuid> --dry-run

Global options

Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.