Auth0.Management.UserBlocks (Auth0Api v1.4.0) View Source
Documentation for Auth0 Management API of UserBlocks.
endpoint
- /api/v2/user-blocks
- /api/v2/user-blocks/{id}
Link to this section Summary
Link to this section Types
Specs
config() :: Auth0.Config.t()
Specs
Specs
id() :: String.t()
Specs
response_body() :: String.t()
Link to this section Functions
Specs
get(Auth0.Management.UserBlocks.Get.Params.t() | map(), config()) :: {:ok, Auth0.Entity.UserBlocks.t(), response_body()} | error()
Get blocks by identifier.
see
https://auth0.com/docs/api/management/v2/#!/User_Blocks/get_user_blocks
Specs
get_by_user_id( id(), Auth0.Management.UserBlocks.Users.Get.Params.t() | map(), config() ) :: {:ok, Auth0.Entity.UserBlocks.t(), response_body()} | error()
Get a user's blocks.
see
https://auth0.com/docs/api/management/v2/#!/User_Blocks/get_user_blocks_by_id
Specs
unblock(Auth0.Management.UserBlocks.Unblock.Params.t() | map(), config()) :: {:ok, String.t(), response_body()} | error()
Unblock by identifier.
see
https://auth0.com/docs/api/management/v2/#!/User_Blocks/delete_user_blocks
Specs
unblock_by_user_id(id(), config()) :: {:ok, String.t(), response_body()} | error()
Unblock a user.
see
https://auth0.com/docs/api/management/v2/#!/User_Blocks/delete_user_blocks_by_id