Skip to main content
On this page

Kater CLI Build an analysis parameter

kater parameter remove

Remove a parameter. It is refused while a filter, a field or a query reads it.

A program gives the exact typed request with --request-file.

The request’s fields: namespace (required): {kind?: “workspace”, scope: {kind?: “shared”, connection: text} or {kind?: “personal”, connection: text, user_id: text, topic?}, workspace: text}. The workspace the parameters are in. query: The query whose own parameters these are. Absent for the workspace root’s, which every query of the workspace shares. name (required): The name of the parameter to take out. expected_revision: The revision of the file as parameter.list gave it. A file that changed since is refused. Left out, the file as it is now. dry_run: Show the change to the file, and write nothing.

Examples

Terminal window
# Remove a parameter. It is refused while a filter, a field or a query reads it
kater parameter remove

Arguments

ArgumentDescription
<object>Optional. The workspace, or one of its queries. A workspace: its key, such as duckdb_sample/shop, or in a person’s folder, duckdb_sample/users/<user id>/shop; its name, such as shop; its folder, such as connections/<connection>/workspaces/shop; or its id, rel1_…, also from before a rename. A query: its key, such as duckdb_sample/shop/top_regions, or in a person’s folder, duckdb_sample/users/<user id>/shop/top_regions; as <workspace>/<name>, such as shop/top_regions; its workspace’s folder and its name, such as connections/<connection>/workspaces/shop/top_regions; or its id, rel1_…, also from before a rename. By default the workspace you are in.

Options

OptionDescription
--request-file <file>Typed request JSON file; - reads stdin.
--name <name>The parameter’s name in lower snake case, such as trend_measure.
--revision <expected-revision>The file’s revision as kater parameter list gave it. A file that changed since is refused.
--dry-runShow the change to the file, and write nothing.

It also takes the global options anywhere on the line, and --help.

See also