Skip to content

security.removeUser ​

Removes a user from your MODLR account.

Removing someone from one application?

Use security.application(...).users.remove() instead. It takes the user out of that application without removing them from your account.

js
security.removeUser(userId)

Parameters ​

ParameterTypeDescription
userIdnumberThe id of the user.

Returns ​

boolean

true if the user was removed. false if the user can't be found or couldn't be removed.

Examples ​

js
security.removeUser("123");