Disable the Attributes Feature of a Database Connection

Overview

This article describes how to disable the Flexible Identifiers and Attributes feature (Attributes tab) for a database connection.

Applies To

  • Flexible Identifiers and Attributes
  • Database Connection

Solution

At the moment, the Flexible Identifiers and Attributes feature can only be disabled via the Auth0 Management API.

  1. Use the GET /api/v2/connections/{id}endpoint to retrieve the existing settings of the connection. The connection_id can be retrieved from the tenant dashboard. See Get a connection for more details.
  2. Save the options object in the connection settings retrieved from the GET /api/v2/connections/{id} endpoint, and remove the options.attributes object from it.
  3. Use the PATCH /api/v2/connections/{id} endpoint to update the connection with the revised options object. See Update a connection for more details.

NOTE: The options objects in the PATCH request overwrites the existing options, so all the other settings in the options object except the options.attributes must be included in the PATCH request.

  1. After the PATCH /api/v2/connections/{id} request succeeds, check in the tenant dashboard > Authentication > Database → select the database connection that the Attributes was disabled > select the Attributes tab > the Activate button is available again which means the feature is not disabled.

Related References