Hello, we have created a new quality profile, for COBOL, named “Mia-Quality”. It contains a number of issues.
When I try to update the remediation_fn_base_effort or the remediation_fn_type of these issues, via the webapi api/rules/update, I get a 401 “Unauthorized” error.

In my program, I start by logging in as admin with the api/authentication/login API.
I gave the rights to modify the quality profile to my user admin.

Hi @sneau ,

did you try to use http basic auth for your request? the api/authentication/login endpoint is usually only used for setting a auth cookie when logging in via the UI.

I think so. I tried this way in a Perl :


Problem solved.
My request was not well formated in my Perl.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.