Deletes the specified table column on a NocoDB server via its
DELETE /api/v2/meta/columns/{id_col}
API endpoint.
Usage
delete_tbl_col(
id_col,
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_col
character(1)
NocoDB column identifier as returned bytbl_col_id()
.- origin
character(1)
NocoDB server origin.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 overemail
andpassword
if provided.
See also
Other functions to manage NocoDB table columns:
create_tbl_col()
,
set_display_val()
,
set_display_vals()
,
tbl_col()
,
tbl_col_id()
,
tbl_cols()
,
update_tbl_col()