Only users with Library Manager permission can edit a custom license.
Security
bearerAuth
url
Example:"https://abc.xyz"
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/licenses/{licenseId}
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/licenses/{licenseId}
curl -i -X PUT \
https://codeinsightapi.redocly.app/_mock/swagger/licenses/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "General Public License",
"shortName": "GPL",
"licenseText": "License Text",
"priority": "E.g. P1 | P2 | P3 | default: P3",
"url": "https://abc.xyz",
"description": "License description",
"familyName": "License family",
"externalId": "External License Id Eg: 156"
}'