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
| Parameter | Type | Description |
|---|---|---|
userId | number | The id of the user. |
Returns
booleantrue if the user was removed. false if the user can't be found or couldn't be removed.
Examples
js
security.removeUser("123");