Auth0.Management.Clients (Auth0Api v1.4.0) View Source

Documentation for Auth0 Management API of Clients.

endpoint

/api/v2/clients /api/v2/clients/{id} /api/v2/clients/{id}/rotate-secret

Link to this section Summary

Functions

Create a client.

Delete a client.

Get a client.

Get clients.

Rotate a client secret.

Update a client.

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

Create a client.

see

https://auth0.com/docs/api/management/v2/#!/Clients/post_clients

Specs

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

Delete a client.

see

https://auth0.com/docs/api/management/v2/#!/Clients/delete_clients_by_id

Specs

Get a client.

see

https://auth0.com/docs/api/management/v2/#!/Clients/get_clients_by_id

Specs

Get clients.

see

https://auth0.com/docs/api/management/v2/#!/Clients/get_clients

Link to this function

rotate_secret(id, config)

View Source

Specs

rotate_secret(id(), config()) ::
  {:ok, Auth0.Entity.Client.t(), response_body()} | error()

Rotate a client secret.

see

https://auth0.com/docs/api/management/v2/#!/Clients/post_rotate_secret

Link to this function

update(id, params, config)

View Source

Specs

Update a client.

see

https://auth0.com/docs/api/management/v2/#!/Clients/patch_clients_by_id