Revokes all privileges from a user in regard to the specified base on a NocoDB server via its
DELETE /api/v2/meta/bases/{id_base}/users/{id_user}
API endpoint.
Usage
delete_base_user(
id_user,
id_base = base_id(hostname = hostname, email = email, password = password, api_token =
api_token),
hostname = pal::pkg_config_val("hostname"),
email = pal::pkg_config_val("email"),
password = pal::pkg_config_val("password"),
api_token = pal::pkg_config_val("api_token"),
quiet = FALSE
)
Arguments
- id_user
NocoDB user identifier as returned by
user_id()
. A character scalar.- id_base
NocoDB base identifier as returned by
base_id()
. A character scalar.- hostname
NocoDB server hostname. A character scalar.
E-mail address of the NocoDB user to authenticate with.
- password
Password of the NocoDB user to authenticate with.
- api_token
NocoDB API token. Takes precedence over
email
andpassword
if provided.- quiet
Whether or not to suppress printing status output from internal processing.
Details
Despite the endpoint name, the user is not actually deleted but is instead revoked any assigned role in regard to id_base
, which has the same effect as
assigning the "no-access"
role.
See also
Other functions to manage NocoDB users:
add_user()
,
base_users()
,
delete_user()
,
invite_base_user()
,
invite_user()
,
resend_base_user_invitation()
,
sign_up_user()
,
update_base_user()
,
update_user()
,
user_id()
,
users()
,
validate_user_email()
,
whoami()
Other functions to manage NocoDB bases:
base()
,
base_id()
,
base_ui_acl()
,
base_users()
,
bases()
,
create_base()
,
delete_base()
,
invite_base_user()
,
resend_base_user_invitation()
,
update_base()
,
update_base_ui_acl()
,
update_base_user()