Yera Delete

The delete command removes configuration entries and stored data from yera.toml, the model universe, and credentials.json. Most destructive subcommands require --force to prevent accidental data loss. Scoped variants (delete hub, delete model, delete cred) target a single named entry, while plural forms (delete hubs, delete models, delete creds) operate in bulk and always require --force.

yera delete

Delete config entries and Yera object data.

yera delete config

Delete yera.toml.

Args:
    force: Must be true; the command refuses to delete without ``--force``.
yera delete config [--force]

Options

--force
type: bool = False

Must be true; the command refuses to delete without --force.

yera delete hub

Remove a named hub from yera.toml.

Args:
    hub_name: Hub to remove from ``yera.toml``. If it was the default hub,
        the default is cleared.
yera delete hub HUB_NAME

Arguments

HUB_NAME
type: str (required)

Hub to remove from yera.toml. If it was the default hub, the default is cleared.

yera delete hubs

Remove all hubs and the default hub setting from yera.toml.

Args:
    force: Must be true; the command refuses to delete without ``--force``.
yera delete hubs [--force]

Options

--force
type: bool = False

Must be true; the command refuses to delete without --force.

yera delete provider

Remove a provider or one of its connections from yera.toml.

Args:
    provider_type: Provider type to remove. Must be a configured provider.
    connection: If set, remove only this connection. Raises an error if any
        Yera profile references it — update or remove those profiles first.
    force: Required when removing an entire provider. The command refuses
        to delete without ``--force``.
yera delete provider PROVIDER_TYPE [--connection STR] [--force]

Arguments

PROVIDER_TYPE
type: Literal (required)
choices: anthropic, openai, aws, azure, ollama, llama_cpp

Provider type to remove.

Options

--connection
type: str = None

If set, remove only this connection rather than the entire provider. Raises an error if any Yera profile references this connection.

--force
type: bool = False

Required when removing an entire provider. The command refuses to delete without --force.

yera delete providers

Remove all providers from yera.toml.

Args:
    force: Must be true; the command refuses to delete without ``--force``.
yera delete providers [--force]

Options

--force
type: bool = False

Must be true; the command refuses to delete without --force.

yera delete model

Remove one model entry from the universe.

Args:
    model_id: Yera-internal dot-delimited model id to remove.
    connection: Connection name the model was discovered under. Required
        because the same model id can exist under multiple connections.
    model_type: Model type of the entry to remove.
yera delete model MODEL_ID --connection STR --model-type LITERAL

Arguments

MODEL_ID
type: str (required)

Yera model id to remove.

Options

--connection
type: str (required)

Connection name the model was discovered under. Required since the same model id can exist under multiple connections.

--model-type
type: Literal (required)
choices: llm, embedding, tts, stt, reranker

Model type of the entry to remove.

yera delete models

Remove all models from the universe, optionally filtered by type.

Args:
    model_type: If set, only models of this type are removed. If omitted,
        all models across all types are removed.
    force: Must be true; the command refuses to delete without ``--force``.
yera delete models [MODEL_TYPE] [--force]

Arguments

MODEL_TYPE
type: Literal = None
choices: llm, embedding, tts, stt, reranker

If set, remove only models of this type.

Options

--force
type: bool = False

Must be true; the command refuses to delete without --force.

yera delete profile

Remove a named Yera profile from yera.toml.

Args:
    profile_name: Profile to remove. If it was the active default profile,
        the default is cleared.
yera delete profile PROFILE_NAME

Arguments

PROFILE_NAME
type: str (required)

Yera profile name to remove.

yera delete profiles

Remove all Yera profiles and the active default from yera.toml.

Args:
    force: Must be true; the command refuses to delete without ``--force``.
yera delete profiles [--force]

Options

--force
type: bool = False

Must be true; the command refuses to delete without --force.

yera delete cred-group

Delete a credential group and all its credentials from credentials.json.

Args:
    name: Credential group name to delete.
    force: Must be true; the command refuses to delete without ``--force``.
yera delete cred-group NAME [--force]

Arguments

NAME
type: str (required)

Credential group name to delete.

Options

--force
type: bool = False

Must be true; the command refuses to delete without --force.

yera delete cred

Delete a single credential leaf by exact key.

Args:
    key: Exact dotted leaf key to delete.
yera delete cred KEY

Arguments

KEY
type: str (required)

Exact dotted leaf key to delete.

yera delete creds

Delete credential leaves under a path within the active credential group.

Args:
    path: Dotted path prefix to delete under. Omit to delete all credentials
        in the active group.
    force: Must be provided to permit bulk deletion.
yera delete creds [PATH] [--force]

Arguments

PATH
type: str = None

Dotted path prefix to delete under. Omit to delete all credentials in the active group.

Options

--force
type: bool = False

Must be provided to permit bulk deletion.