# Editing or deleting SSO configuration

You must be the administrator of the enterprise in SonarQube Cloud.

## Editing your SSO configuration

1. Retrieve your enterprise. See [Managing your enterprise](/sonarqube-cloud/administering-sonarcloud/managing-enterprise.md) for more details.
2. Go to **Administration** > **SSO & Provisioning**. The **SSO & Provisioning** page opens.
3. Expand the **Single sign-on** sectio&#x6E;**,** and select **Edit configuration**. The **Configure Your Connection** page opens.
4. Select **Single Sign-On**. The SSO setup assistant opens. Follow the instructions.

## 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 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 your enterprise](/sonarqube-cloud/administering-sonarcloud/managing-enterprise.md) for more details.
2. Select **Administration** > **SSO & Provisioning**. The **SSO & Provisioning** page opens.
3. Expand the **Single sign-on** sectio&#x6E;**,** and 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](/sonarqube-cloud/appendices/web-api.md) use the `api/authentication/connections/delete` endpoint.

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

* [Troubleshooting SSO and provisioning](/sonarqube-cloud/administering-sonarcloud/enterprise-security/sso-and-provisioning/troubleshooting.md)
* [User onboarding and offboarding](/sonarqube-cloud/administering-sonarcloud/managing-organization/users-and-permissions/user-on-and-offboarding.md#deleting-sso-account)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/enterprise-security/sso-and-provisioning/edit-or-delete-sso-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
