> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable Organization Connections

> Learn how to disable organization connections using the Auth0 Dashboard or Management API.

> [!WARNING]
>
> Manage Organization Connections via new endpoints and attributes is in Early Access as part of the [My Organization API and Embeddable UI Components](/docs/docs/manage-users/my-organization-api). By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). To learn more about Auth0’s product release cycle, read [Product Release Stages](/docs/docs/troubleshoot/product-lifecycle/product-release-stages).

You can disable connections for [Organizations](/docs/docs/manage-users/organizations/organizations-overview) using either the Auth0 Dashboard (Auth0 Dashboard: Auth0's main product to configure your services.) or the Management API (Auth0 Dashboard: Auth0's main product to configure your services.).

## Auth0 Dashboard

To disable a connection via the Auth0 Dashboard:

1. Navigate to [Auth0 Dashboard > Organizations](https://manage.auth0.com/#/organizations) and select the Organization of which you want to configure the connections.
2. Toggle off the **Enabled** field for the connection you want to disable.

Disabling a connection does not remove the association to the Organization. By disabling a connection, it is possible to keep the values for `show_as_button`, `assign_membership_on_login`, etc., while keeping the connection disabled.

To remove a connection from an Organization via the Auth0 Dashboard:

1. Navigate to [Auth0 Dashboard > Organizations](https://manage.auth0.com/#/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

To disable a connection via the Auth0 Dashboard:
Make a `PATCH` call to the `Update 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 Access Token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), and connection ID, respectively.

To remove a connection from an Organization via the Auth0 Dashboard:
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 Access Token (Access Token: Authorization credential, in the form of an opaque string or JWT, used to access an API.), and connection ID, respectively.

Using the Auth0 CLI? If you haven't already, [set up and authenticate your CLI session](/docs/docs/deploy-monitor/auth0-cli) before running this command.

**Find Your Auth0 Domain**

If 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.

| Value | Description |
| - | - |
| `ORG_ID` | ID of the Organization for which you want to disable a connection. |
| `MGMT_API_ACCESS_TOKEN` | [Access Token for the Management API](/docs/docs/secure/tokens/access-tokens/management-api-access-tokens) with the scope `delete:organization_connections`. |
| `CONNECTION_ID` | ID of the connection you want to disable for the Organization. |

### Response status codes

Possible response status codes are as follows:

| Status code | Error code | Message | Cause |
| - | - | - | - |
| `204` | | Connection successfully removed from Organization. | |
| `401` | | Invalid token. | |
| `401` | | Invalid signature received for JSON Web Token validation. | |
| `401` | | Client is not global. | |
| `403` | `insufficient_scope` | Insufficient scope; expected any of: `delete:organization_connections`. | Tried to read/write a field that is not allowed with provided bearer token scopes. |
| `429` | | Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers. | |
