# Editing or deleting SSO configuration

You must be the administrator of the enterprise in SonarQube Cloud.&#x20;

## Editing your SSO configuration

1. Retrieve your enterprise. See [managing-enterprise](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/managing-enterprise "mention") for more details.
2. Go to **Administration** > **SSO & Provisioning**. The **SSO & Provisioning** page opens.

<figure><img src="broken-reference" alt="Select the Edit configuration button in the top right corner to change your SSO or provisioning configuration"><figcaption></figcaption></figure>

3. Select **Edit Configuration**. The **Configure Your Connection** page opens.
4. Select **Single Sign-On**. The SSO setup assistant opens. Follow the instructions.

{% hint style="info" %}
If you didn’t create your SSO configuration with the SSO setup assistant and used the older method, the Edit button is in front of SAML configuration. See [Broken link](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/enterprise-security/sso-and-provisioning/broken-reference "mention") for additional information.
{% endhint %}

## Deleting your SSO configuration

To delete your SSO configuration, you must be the administrator of the enterprise in SonarQube Cloud.

{% hint style="warning" %}
The SSO users will no longer be able to login after the deletion. Before proceeding with the deletion, ensure the following:

* For each organization in the enterprise, there is at least one organization admin account that doesn’t use the SSO authentication.
* There is at least one enterprise admin account that doesn’t use the SSO authentication.
  {% endhint %}

{% hint style="info" %}
If SCIM provisioning is set up in your enterprise, the existing mapping of organizations to groups will be removed but the groups will not  remain unchanged.
{% endhint %}

### In the UI <a href="#in-the-ui" id="in-the-ui"></a>

To delete your SSO configuration in the UI:

1. Retrieve your enterprise. See [managing-enterprise](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/managing-enterprise "mention") for more details.
2. Select **Administration** > **SSO & Provisioning**. The **SSO & Provisioning** page opens.

<figure><img src="broken-reference" alt="Select Delete configuration in the top right corner."><figcaption></figcaption></figure>

3. Select **Delete configuration**. The **Delete SSO configuration** dialog opens.
4. In the dialog, confirm the deletion.

### Via the Web API <a href="#via-web-api" id="via-web-api"></a>

To delete your SSO configuration via the [web-api](https://docs.sonarsource.com/sonarqube-cloud/appendices/web-api "mention") use the `api/authentication/connections/delete` endpoint.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [sso](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/enterprise-security/sso-and-provisioning/about/sso "mention")
* [setup](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/enterprise-security/sso-and-provisioning/setup "mention")
* [troubleshooting](https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/enterprise-security/sso-and-provisioning/troubleshooting "mention")
* [#deleting-sso-account](https://docs.sonarsource.com/sonarqube-cloud/managing-organization/users-and-permissions/user-on-and-offboarding#deleting-sso-account "mention")
