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

Facade for the Auth0 Management API Agents (Early Access).

Summary

Functions

Create an agent.

Delete an agent.

Get an agent.

Get agents.

Update an agent.

Types

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

Functions

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

Create an agent.

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/agents/post-agent

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

Delete an agent.

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/agents/delete-agent

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

Get an agent.

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/agents/get-agent

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

Get agents.

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/agents/get-agents

Link to this function

update(id, params, config)

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

Update an agent.

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/agents/patch-agent