Regarding depricated api usage

We are using some of the SonarQube APIs and I have observed after deploying 2025.1.4 version in our test environment some of the APIs are listed as deprecated.

e.g GET api/users/search is deprecated since 10.4 so can we use it at least in 2025.1.4 ?

According to SonarQube’s deprecation timeline policy a deprecated Web API can be removed in a later major/LTA cycle which I think 2026.* .

Kindly confirm that at least for now we can keep using the deprecated APIs and plan for migrating it to new API before next major/LTA i.e 2026.*

Hi,

A deprecation notice is notice that at some point in the future, the thing that’s deprecated will go away.

Can you keep using it? Well… it’s still there, so sure.

Should you keep using it? No. You should move to the replacement at your earliest convenience. (I.e. now. :sweat_smile: )

 
HTH,
Ann

Thank you for the information. However, the main concern is the timeline for when the deprecated APIs will be removed from the system ?

e.g GET api/users/search is deprecated since 10.4 so can we use it at least in 2025.1.4 answer is YES but in which version it will get removed ???

Hi,

You should assume it will be removed in your next upgrade and migrate now.

 
Ann

1 Like