# API deprecation

If you use custom plugins based on the plugin API or consume SonarQube Community Build services through the Web API then you will have to manage the possible API deprecations. See[web-api](https://docs.sonarsource.com/sonarqube-community-build/extension-guide/web-api "mention") and the [plugin-basics](https://docs.sonarsource.com/sonarqube-community-build/extension-guide/developing-a-plugin/plugin-basics "mention") for additional information.

## Monitoring the deprecated Web API components <a href="#web-api" id="web-api"></a>

After an update, you can check if an authenticated client of your SonarQube Community Build instance uses deprecated Web API endpoints and parameters in order to anticipate their drop. To do so, browse the deprecation log as illustrated below.

<div align="left"><figure><img src="https://1580440648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqrfLGeD0Y9vE5l9Le42%2Fuploads%2FsHIgnJwJYcfWvCr5AtGK%2Fsonarqube-deprecation-log.png?alt=media&#x26;token=80d84b54-f370-4b92-9094-c3d2c0e44b3e" alt="The screenshot highlights the line-by-line information available in the SonarQube deprecation logs." width="563"><figcaption></figcaption></figure></div>

To download the deprecation log from the UI (with the **Administer System** permission):

1. In the top navigation bar of the SonarQube Community Build UI, select **Administration** > **System**.
2. In the top right corner of the **System Info** page, click **Download Logs** > **Deprecation Logs**.

{% hint style="info" %}
You can automate the retrieval of the deprecation log information by calling the Web API endpoint [`api/system/logs`](https://next.sonarqube.com/sonarqube/web_api/api/system/logs) with `deprecation` as the value of the `name` parameter.
{% endhint %}

## Monitoring the deprecated Plugin API components <a href="#plugin-api" id="plugin-api"></a>

Check the [Plugin API release notes](https://github.com/SonarSource/sonar-plugin-api/releases) for deprecation notes.
