Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

box.schema.user.drop()

box.schema.user.drop(username [, {options}])

Drop a user. For explanation of how Tarantool maintains user data, see section Users and reference on _user space.

Parameters:

  • username (string) — the name of the user

  • options (table) — if_exists = true|false (default = false) - boolean; true means there should be no error if the user does not exist.

Examples:

box.schema.user.drop('testuser')        t.assert_equals(box.schema.user.exists('testuser'), false)    end)end

See also: access_control_users.