Skip to contents

Updates the specified base on a NocoDB server via its PATCH /api/v2/meta/bases/{id_base} API endpoint.

Usage

update_base(
  title = NULL,
  description = NULL,
  color = NULL,
  show_null_and_empty_in_filter = NULL,
  id_base = base_id(origin = origin, email = email, password = password, api_token =
    api_token),
  origin = pal::pkg_config_val("origin"),
  email = pal::pkg_config_val("email"),
  password = pal::pkg_config_val("password"),
  api_token = pal::pkg_config_val("api_token")
)

Arguments

title

character(1)
New base title.

description

character(1)
Base description.

color

character(1)
Color to use for the base icon. A hexadecimal color code like "#36BFFF".

show_null_and_empty_in_filter

logical(1)
Whether or not to distinguish NULLs from empty values in column filters. If FALSE, NULL and empty fields are treated alike.

id_base

character(1)
NocoDB base identifier as returned by base_id().

origin

character(1)
NocoDB server origin.

email

character(1)
E-mail address of the NocoDB user to authenticate with.

password

character(1)
Password of the NocoDB user to authenticate with.

api_token

character(1)
NocoDB API token. Takes precedence over email and password if provided.

Value

id_base, invisibly.