How to Perform Bulk Updates on Connections

Overview

This article provides methods to perform bulk updates to connection settings. It outlines how to automate changes for multiple connections to avoid manual configuration within the dashboard.

Applies To

  • Connections
  • Management API
  • Deploy CLI 

Cause

The Management API does not provide a single endpoint for performing a bulk patch across multiple connections.

Solution

To update settings for multiple connections, use one of the following methods.

 

Method 1: Management API Scripting

A custom script can be designed to call the update endpoint for each specific connection identification (ID).

  1. Design a script in the preferred programming language that includes a list of connections to update.
  2. Leverage the Update a connection endpoint to modify settings. Use sample scripts to design automation and avoid manual dashboard entry.
  3. Ensure the script provides a gap between requests to avoid reaching rate limits. Alternatively, read headers to predict rate limits.

Method 2: Deploy CLI Tool

The Deploy CLI tool allows management of tenant configurations via export and import functions: Auth0 Deploy CLI.

  1. Export the current tenant configuration.

  2. Modify the values for the connections within the YAML configuration file.

  3. Import the updated configuration file back into the tenant.

NOTE: Setting up and testing the Deploy CLI on a development tenant is recommended to verify functionality before updating production environments.

Recommended content

No recommended content found...