Skip to contents

Deletes the specified API token on a NocoDB server via its DELETE /api/v1/tokens/{api_token} API endpoint.

Usage

delete_api_token(
  api_token,
  origin = pal::pkg_config_val("origin"),
  email = pal::pkg_config_val("email", require = TRUE),
  password = pal::pkg_config_val("password", require = TRUE)
)

Arguments

api_token

character(1)
NocoDB API token to delete.

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.

Value

api_token, invisibly.

Details

This API endpoint does not support authentication via API tokens.

See also

Other functions to manage NocoDB API tokens: api_tokens(), create_api_token()

Other functions to manage NocoDB authentication: api_tokens(), assert_super_admin(), create_api_token(), is_signed_in(), is_super_admin(), refresh_sign_in(), req_auth(), sign_in(), sign_out(), sign_up_user()