View Source Auth0.Management.UserAttributeProfiles (Auth0Api v2.5.0)

Facade for the Auth0 Management API User Attribute Profiles endpoints.

Most applications should call Auth0.Api.Management instead of this module.

Summary

Functions

Create a user attribute profile.

Delete a user attribute profile.

Retrieve a user attribute profile by its ID.

Get User Attribute Profile Template.

Retrieve a list of user attribute profiles.

Get User Attribute Profile Templates.

Update a user attribute profile.

Types

@type config() :: Auth0.Config.t()
@type error() :: {:error, integer(), term()} | {:error, term()}
@type id() :: String.t()

Functions

@spec create(map(), config()) :: {:ok, map()} | error()

Create a user attribute profile.

see

https://auth0.com/docs/api/management/v2/user-attribute-profiles/post-user-attribute-profiles

@spec delete(id(), config()) :: {:ok, String.t()} | error()

Delete a user attribute profile.

see

https://auth0.com/docs/api/management/v2/user-attribute-profiles/delete-user-attribute-profiles-by-id

@spec get(id(), config()) :: {:ok, map()} | error()

Retrieve a user attribute profile by its ID.

see

https://auth0.com/docs/api/management/v2/user-attribute-profiles/get-user-attribute-profiles-by-id

Link to this function

get_template(id, config)

View Source
@spec get_template(String.t(), config()) :: {:ok, map()} | error()

Get User Attribute Profile Template.

Retrieve a User Attribute Profile Template.

Early Access: this endpoint is marked as Early Access (x-release-lifecycle: EA) in the Auth0 Management API specification and may not be available on every tenant.

see

https://auth0.com/docs/api/management/v2/user-attribute-profiles/get-user-attribute-profile-template

@spec list(map(), config()) :: {:ok, [map()]} | error()

Retrieve a list of user attribute profiles.

see

https://auth0.com/docs/api/management/v2/user-attribute-profiles/get-user-attribute-profiles

@spec list_templates(config()) :: {:ok, map()} | error()

Get User Attribute Profile Templates.

Retrieve a list of User Attribute Profile Templates.

Early Access: this endpoint is marked as Early Access (x-release-lifecycle: EA) in the Auth0 Management API specification and may not be available on every tenant.

see

https://auth0.com/docs/api/management/v2/user-attribute-profiles/get-user-attribute-profile-templates

Link to this function

update(id, params, config)

View Source
@spec update(id(), map(), config()) :: {:ok, map()} | error()

Update a user attribute profile.

see

https://auth0.com/docs/api/management/v2/user-attribute-profiles/patch-user-attribute-profiles-by-id