Adds a new API token for the specified user on a NocoDB server via its
POST /api/v1/tokens API endpoint.
Usage
create_api_token(
description,
origin = funky::config_val("origin"),
email = funky::config_val("email", require = TRUE),
password = funky::config_val("password", require = TRUE)
)Arguments
- description
character(1)
Description to assign to the newly created API token (displayed as Token name in NocoDB's UI).- 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.
Value
A tibble with (meta)data about the newly created API token.
Details
This API endpoint does not support authentication via API tokens.
See also
Other functions to manage NocoDB API tokens:
api_tokens(),
delete_api_token()
Other functions to manage NocoDB authentication:
api_tokens(),
assert_super_admin(),
delete_api_token(),
is_signed_in(),
is_super_admin(),
refresh_sign_in(),
req_auth(),
sign_in(),
sign_out(),
sign_up_user()