auth0_ex v0.3.1 Auth0Ex.Management.UserBlock View Source

A module representing user blocks resource on Auth0

Link to this section 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

Link to this section 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")