Project Licenses
Assign License to Package
Manually assign an SPDX license ID to a specific SCA package
PUT
Path Parameters
The UUID of the project
The UUID of the SCA package
Authorization
Requireschange_vulnerability_state permission on the project.
Request Body
The SPDX license identifier to assign (e.g.,
MIT, Apache-2.0, GPL-3.0-only)Response
Whether the request succeeded
Confirmation message
Assigning a license to a package that was previously categorized as Unknown will remove the Unknown placeholder and update the package’s license list. This is particularly useful for internal packages or packages whose license metadata is missing from the registry.