Skip to contents

Deletes the specified table on a NocoDB server via its DELETE /api/v2/meta/tables/{id_tbl} API endpoint.

Usage

delete_tbl(
  id_tbl,
  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

id_tbl

character(1)
NocoDB table identifier as returned by tbl_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_tbl, invisibly.

See also

Other functions to manage NocoDB tables: create_data_src_tbl(), create_tbl(), data_src_tbls(), reorder_tbl(), set_tbl_metadata(), tbl, tbl_id(), tbls(), update_tbl()