Sends a DELETE request to the MotherDuck REST API to permanently remove a user
from your organization. This operation requires administrative privileges and a
valid MotherDuck access token.
A tibble summarizing the API response, including the username and deletion status.
Arguments
user_name
A character string specifying the MotherDuck user name whose
tokens should be listed.
motherduck_token
Character. Either the name of an environment variable containing your
MotherDuck access token (default "MOTHERDUCK_TOKEN") or the token itself.
Details
This function calls the
MotherDuck Users API
endpoint to delete the specified user. The authenticated user (associated with the
provided token) must have sufficient permissions to perform user management actions.
See Also
Other db-api:
configure_md_user_settings(),
create_md_access_token(),
create_md_user(),
delete_md_access_token(),
list_md_active_accounts(),
list_md_user_instance(),
list_md_user_tokens(),
show_current_user()