Skip to main content

Management API

Configure your Vault connection with Management API

To configure a Vault connection for your Auth0 Actions, you will need to create a Machine-to-Machine application and use Tenant domain, and :
Remember to authorize your Machine-to-Machine application to access the Management API and select the right scopes (eg. update:users_app_metadata).

Create user

Create User doesn’t support interactions using canonical domain when combined with Multiple Custom Domains during Early Access. To learn more, read Product Release Stages.
Create a user.

Input settings

ParameterDescription
BodyThe payload of Auth0 user properties to add. To learn more, read Create a user API documentation.

Output object

Review Create a user for expected response and status code.

Get user

Retrieve user details.

Input settings

ParameterDescription
User IDID of the user to retrieve. To learn more, read Get a user API documentation.

Output object

Review Get a user for expected response and status code.

Update user

Update a user.

Input settings

ParameterDescription
User IDID of the user to update.
BodyThe payload of Auth0 user properties to update. To learn more, read Update a user API documentation.

Output object

You can find the expected response and status codes at Update a user API documentation.

Custom API request

Send a custom API request to Auth0 API endpoints.
Dashboard > Customize > Flows > Integrations > Auth0

Input settings

ParameterDescription
PathThe API endpoint absolute pathname.
( Example: /api/v2/organizations )
Note: Some endpoints, for example: Get a user , require URI encoded parameters when not using alphanumeric characters, such as: -, ., _, or ~, characters ).
To do this, you can use the encodeURIComponent function:
{{ functions.encodeURIComponent(context.user.user_id) }}
MethodAvailable HTTP methods include:
  • GET
  • POST
  • PUT
  • PATCH
  • DELETE
BodyThe body of the request.
HeadersThe headers of the request.
URL ParamsThe URL parameters. These parameters are automatically URL-encoded.

Output object

Review Auth0 Management API for expected responses and status codes.

Notifications

Send email

Send a custom email using your configured email provider.
Email Provider must be enabled before using this action.

Input settings

Output object

Output object example