View Source Auth0Ex.Management.UserBlock (auth0_ex v0.9.0)
A module representing user blocks resource on Auth0
Summary
Functions
Gets all user blocks for given identifier. Identifier should be any of: username, phone_number, email
Get a user's block
Unblock a block by identifier
Unblock a user
Functions
Gets all user blocks for given identifier. Identifier should be any of: username, phone_number, email
iex> Auth0Ex.Management.UserBlock.get("some@example.com")
Get a user's block
iex> Auth0Ex.Management.UserBlock.get_user_block("auth0|234234")
Unblock a block by identifier
iex> Auth0Ex.Management.UserBlock.unblock("some@example.com")
Unblock a user
iex> Auth0Ex.Management.UserBlock.unblock_user("auth0|2342")