# Delete a user named "bob_smith"
delete_md_user("bob_smith")Delete a MotherDuck user
Source: R/api.R
Sends a DELETE request to the MotherDuck REST API to permanently remove a user from your organization. This operation requires administrative privileges.
Usage
delete_md_user(user_name)Arguments
Value
A tibble summarizing the API response, including the username and deletion status.
Details
This function calls the MotherDuck Users API endpoint to delete the specified user. The authenticated user (via the MOTHERDUCK_TOKEN environment variable) 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()