Create scorecard rule
POST
/admin/scorecards/rules
const url = 'https://shoehorn.example.com/api/v1/admin/scorecards/rules';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shoehorn.example.com/api/v1/admin/scorecards/rulesResponses
Section titled “ Responses ”Rule created