Updated at July 17, 2026 02:08 PM
box.schema.user.disable()
Revokes usage and session permissions from the subject user.
Equivalent to the following call:
box.schema.user.revoke(username, 'usage,session', 'universe', nil, {if_not_exists = true})
For more information about revoking permissions see section box.schema.user.revoke.
Parameters:
username(string) — the name of the subject user
Returns
(if success) nothing
Possible errors:
NO_SUCH_USER- in case the subject user is not found.