# license ## License Lookup - [GET /license/lookup](https://codeinsightapi.redocly.app/swagger/license/licenselookup.md): Returns id, name, priority, url, description, text, shortName and spdxIdentifier for a given license ID or license Name. ## Create a custom license - [POST /licenses](https://codeinsightapi.redocly.app/swagger/license/createlicenses.md): Creates a custom license ## Edit Custom License - [PUT /licenses/{licenseId}](https://codeinsightapi.redocly.app/swagger/license/editcustomlicense.md): Only users with Library Manager permission can edit a custom license. ## Delete a custom license - [DELETE /licenses/{licenseId}](https://codeinsightapi.redocly.app/swagger/license/deletecustomlicense.md): Delete a custom license using the license ID. All existing inventory that uses this license will have its license changed to Unknown. You must have the Library Manager permission to delete a custom license. ## Update Licenses External Id - [PATCH /licenses/{licenseId}](https://codeinsightapi.redocly.app/swagger/license/updatelicenseexternalid.md): Update Licenses External Id. Only users with Library Manager permission can update the External Id of a license. The licenseId should be a valid license id and the externalId should not exceed 255 characters. ## Get All Licenses - [GET /licenses/listAll](https://codeinsightapi.redocly.app/swagger/license/getalllicenses.md): Returns all license details. If onlyCustom is true, returns only custom licenses. Supports pagination with page and size parameters. ## License lookup based on short name - [GET /licenses/{shortName}](https://codeinsightapi.redocly.app/swagger/license/licenselookupshortname.md): Returns id, name, priority, url, description, text and spdxIdentifier for a given shortName.