Update a Connection

While using the new interface on the Management API Explorer to update a connection. I edited the JSON as I’ve always done to remove name, id, strategy, provisioning ticket url, realms, and then adding my custom entity id. I can no longer upload the modified JSON and only able to edit from the UI. Am I missing an option is uploading JSON no longer acceptable?

Hi @brian.mccleary

Welcome to the Auth0 Community!

Pasting or uploading raw JSON into the request body is no longer supported in the new Management API Explorer UI.

Auth0 recently overhauled the API documentation to use a new OpenAPI form-builder. While this provides strict type-checking, it removed the free-text JSON editor. To submit your heavily modified JSON (like adding a custom entity_id and stripping out read-only fields), you must now use an external tool like Postman or cURL.

Here is the quickest way to execute your payload right now:

Step 1: Grab a temporary Management API Token

  1. In your Auth0 Dashboard, navigate to Applications > APIs.

  2. Click on the Auth0 Management API.

  3. Go to the API Explorer tab and copy the Token displayed there. (Note: Ensure this token has the update:connections scope).

Step 2: Execute via Postman (or similar tool)

  1. Open Postman and create a new PATCH request.

  2. Enter the URL: https://YOUR_TENANT.auth0.com/api/v2/connections/YOUR_CONNECTION_ID

  3. Go to the Authorization tab, select Bearer Token, and paste the token you copied.

  4. Go to the Body tab, select raw, and choose JSON from the dropdown.

  5. Paste your modified JSON directly into the text area.

  6. Hit Send.

If you have any other questions, let me know!

Kind Regards,
Nik