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

Documentation for Auth0 Management API of Actions.

endpoint

  • /api/v2/actions/actions
  • /api/v2/actions/status
  • /api/v2/actions/triggers
  • /api/v2/actions/actions/{id}
  • /api/v2/actions/executions/{id}
  • /api/v2/actions/actions/{actionId}/versions
  • /api/v2/actions/triggers/{triggerId}/bindings
  • /api/v2/actions/actions/{actionId}/versions/{id}
  • /api/v2/actions/actions/{id}/test
  • /api/v2/actions/actions/{id}/deploy
  • /api/v2/actions/actions/{actionId}/versions/{id}/deploy

Link to this section Summary

Functions

Create an action.

Delete an action.

Deploy an action.

Get an action.

Get an execution.

Get actions service status.

Get triggers.

Get a specific version of an action.

Get actions.

Get an action's versions.

Roll back to a previous action version.

Test an Action.

Update an action.

Link to this section Types

Specs

action_id() :: String.t()

Specs

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

Specs

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

Specs

id() :: String.t()

Specs

response_body() :: String.t()

Specs

trigger_id() :: String.t()

Link to this section Functions

Specs

Create an action.

see

https://auth0.com/docs/api/management/v2/#!/Actions/post_action

Link to this function

delete(id, params, config)

View Source

Specs

Delete an action.

see

https://auth0.com/docs/api/management/v2/#!/Actions/delete_action

Specs

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

Deploy an action.

see

https://auth0.com/docs/api/management/v2/#!/Actions/post_deploy_action

Specs

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

Get an action.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_action

Link to this function

get_bindings(trigger_id, params, config)

View Source

Specs

Get trigger bindings.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_bindings

Link to this function

get_execution(id, config)

View Source

Specs

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

Get an execution.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_execution

Specs

get_status(config()) ::
  {:ok, Auth0.Entity.ActionStatus.t(), response_body()} | error()

Get actions service status.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_service_status

Specs

get_triggers(config()) ::
  {:ok, Auth0.Entity.ActionTriggers.t(), response_body()} | error()

Get triggers.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_triggers

Link to this function

get_version(action_id, id, config)

View Source

Specs

get_version(action_id(), id(), config()) ::
  {:ok, Auth0.Entity.ActionVersion.t(), response_body()} | error()

Get a specific version of an action.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_action_version

Specs

Get actions.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_actions

Link to this function

list_versions(action_id, params, config)

View Source

Specs

Get an action's versions.

see

https://auth0.com/docs/api/management/v2/#!/Actions/get_action_versions

Link to this function

rollback_version(action_id, id, params, config)

View Source

Specs

Roll back to a previous action version.

see

https://auth0.com/docs/api/management/v2/#!/Actions/post_deploy_draft_version

Link to this function

test(id, params, config)

View Source

Specs

Test an Action.

see

https://auth0.com/docs/api/management/v2/#!/Actions/post_test_action

Link to this function

update(id, params, config)

View Source

Specs

Update an action.

see

https://auth0.com/docs/api/management/v2/#!/Actions/patch_action

Link to this function

update_bindings(trigger_id, params, config)

View Source

Specs

Update trigger bindings.

see

https://auth0.com/docs/api/management/v2/#!/Actions/patch_bindings