Getting error: unknown URL while setting the new quality profile to deault profile through REST API


(Naveen M) #1

Sonar version: 7.5
error: {“errors”:[{“msg”:“Unknown url : /api/profiles/Set_as_Default”}]}

Kindle help me on how to resolve this error for curl(REST API) command.


(Julien Lancelot) #2

Hi,

If you have a look to the web api, you’ll that find the correct path is :
api/ qualityprofiles/set_as_default

Regards,
Julien Lancelot