Creates a new rule mapping a license fragment to a license ID. Requires Library Manager permission.
Security
bearerAuth
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/rules/licenseEvidences
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/rules/licenseEvidences
curl -i -X POST \
https://codeinsightapi.redocly.app/_mock/swagger/rules/licenseEvidences \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"licenseFragment": "MIT License",
"licenseId": 42
}'