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

Functions

Get blocks by identifier.

Get a user's blocks.

Unblock by identifier.

Link to this section Types

Specs

config() :: Auth0.Config.t()

Specs

error() :: {:error, integer(), term()} | {:error, term()}

Specs

id() :: String.t()

Specs

response_body() :: String.t()

Link to this section Functions

Specs

Get blocks by identifier.

see

https://auth0.com/docs/api/management/v2/#!/User_Blocks/get_user_blocks

Link to this function

get_by_user_id(id, params, config)

View Source

Specs

Get a user's blocks.

see

https://auth0.com/docs/api/management/v2/#!/User_Blocks/get_user_blocks_by_id

Specs

Unblock by identifier.

see

https://auth0.com/docs/api/management/v2/#!/User_Blocks/delete_user_blocks

Link to this function

unblock_by_user_id(id, config)

View Source

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