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.

yera delete config [--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.

yera delete provider PROVIDER_TYPE [--connection STR] [--force]

Arguments

PROVIDER_TYPE
type: Literal (required)
choices: anthropic, openai, mistral, 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.

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.

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.

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.

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.

yera delete profiles [--force]

Options

--force
type: bool = False

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

yera delete mcp

Remove an MCP server, its imported tools, and its stored secrets.

The server is also removed from every profile that enables it. Credential-group values referenced by static headers are kept.

yera delete mcp SERVER_NAME

Arguments

SERVER_NAME
type: str (required)

MCP server connection to remove.