box.schema.role.drop() | Tarantool

box.schema.role.drop()

box.schema.role.drop(role-name[, {options}])

Drop a role. For explanation of how Tarantool maintains role data, see section Roles.

Parameters:
  • role-name (string) – the name of the role
  • options (table) – if_exists = true|false (default = false) - boolean; true means there should be no error if the role does not exist.

Example:

box.schema.role.drop('writers_space_reader')

See also: Managing roles.

Found what you were looking for?
Feedback