Mark License As Internal

Mark licenses for a package as internally developed. Aikido will no longer show these licenses as a risk.

post/licenses/markInternal

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/licenses/markInternal
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: licenses:write

Request body

package_namestring required

The name of the package of which the licenses should be marked as internal.

languagestring required

The language related to the package of which the licenses should be marked as internal. This is 'os' for packages related to images.

org_namestring

Name of the organisation who published the packages. Used as an additional identifier for Java packages only.

Example request

{
  "package_name": "internal-sdk",
  "language": "js"
}

Response

The licenses have successfully been marked as internal for the package

successinteger

The integer 1 indicating success

marked_licenses_amountinteger

An integer indicating the amount of licenses that are marked as internal

Example response

{
  "success": 1,
  "marked_licenses_amount": 18
}

Changes

No recorded changes to this operation across all 1 revision of this API.