You can disable connections for organizations using either the or the .

Auth0 Dashboard

To disable a connection via the Auth0 Dashboard:
  1. Navigate to Auth0 Dashboard > Organizations, and select the organization for which you want to configure connections.
  2. Select the Connections view, locate the connection you want to remove, and expand its More Options () menu.
  3. Select Remove Connection, and confirm.

Management API

Make a DELETE call to the Delete Organization Connections endpoint. Be sure to replace the ORG_ID, MGMT_API_ACCESS_TOKEN, and CONNECTION_ID placeholder values with your organization ID, Management API , and connection ID, respectively.
curl --request DELETE \
  --url 'https://{yourDomain}/api/v2/organizations/ORG_ID/enabled_connections/CONNECTION_ID' \
  --header 'authorization: Bearer MGMT_API_ACCESS_TOKEN'
Find Your Auth0 DomainIf your Auth0 domain is your tenant name, your regional subdomain (unless your tenant is in the US region and was created before June 2020), plus .auth0.com. For example, if your tenant name were travel0, your Auth0 domain name would be travel0.us.auth0.com. (If your tenant were in the US and created before June 2020, then your domain name would be https://travel0.auth0.com.)If you are using custom domains, this should be your custom domain name.
ValueDescription
ORG_IDID of the organization for which you want to disable a connection.
MGMT_API_ACCESS_TOKENAccess Token for the Management API with the scope delete:organization_connections.
CONNECTION_IDID of the connection you want to disable for the organization.

Response status codes

Possible response status codes are as follows:
Status codeError codeMessageCause
204Connection successfully removed from organization.
401Invalid token.
401Invalid signature received for JSON Web Token validation.
401Client is not global.
403insufficient_scopeInsufficient scope; expected any of: delete:organization_connections.Tried to read/write a field that is not allowed with provided bearer token scopes.
429Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.