yera delete

Use yera delete to remove providers, models, profiles, MCP servers, or the complete yera.toml configuration. Commands that delete multiple objects or the configuration file require --force.

Credential deletion is available under yera cred, where the help text states whether an operation removes one value, a namespace, or an entire credential group.

Remove providers, models, profiles, MCP servers, credentials, or configuration.

yera delete config

Delete yera.toml and all configuration stored in it. Requires --force.

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 | NONE] [--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 = 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

Delete every provider connection from yera.toml. Requires --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.

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

Delete configured models from yera.toml. Requires --force.

Supply model_type to limit deletion to that type.

yera delete models [MODEL_TYPE] [--force]

Arguments

MODEL_TYPE
type: Optional = 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

Delete every profile and the active-profile selection. Requires --force.

yera delete profiles [--force]

Options

--force
type: bool = False

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

yera delete mcp

Delete an MCP server from Yera and every profile that uses it. Yera also deletes its imported tools and stored OAuth tokens. Credential-group values referenced by headers remain stored.

yera delete mcp SERVER_NAME

Arguments

SERVER_NAME
type: str (required)

MCP server connection to remove.