Dependency-Track License Group API

The licenseGroup API from Dependency-Track — 3 operation(s) for licensegroup.

Operations 7

GET /v1/licenseGroup Returns a list of all license groups #
POST /v1/licenseGroup Updates a license group #
PUT /v1/licenseGroup Creates a new license group #
DELETE /v1/licenseGroup/{uuid} Deletes a license group #
GET /v1/licenseGroup/{uuid} Returns a specific license group #
DELETE /v1/licenseGroup/{uuid}/license/{licenseUuid} Removes the license from the license group #
POST /v1/licenseGroup/{uuid}/license/{licenseUuid} Adds the license to the specified license group #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-component-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-vulnerability-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-project-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-notification-rule-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-portfolio-metrics-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-project-metrics-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-workload-identity-provider-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-clone-project-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-create-workload-identity-provider-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-create-oauth-token-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-create-component-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/dependency-track/refs/heads/main/json-schema/dependency-track-update-workload-identity-provider-request-schema.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dependency-track:dependency-track-licensegroup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dependency-track-licensegroup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dependency Track License Group API
  version: 1.0.0
  contact:
    name: The Dependency-Track Authors
    url: https://github.com/DependencyTrack/dependency-track
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  description: 'Operations tagged licenseGroup across 2 of this provider''s published API definitions: dependency-track-openapi-v1.yaml, dependency-track-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: licenseGroup
paths:
  /v1/licenseGroup:
    get:
      description: Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_READ
      operationId: getLicenseGroups
      parameters:
      - description: The page to return. To be used in conjunction with <code>pageSize</code>.
        in: query
        name: pageNumber
        schema:
          type: string
          default: '1'
      - description: Number of elements to return per page. To be used in conjunction with <code>pageNumber</code>.
        in: query
        name: pageSize
        schema:
          type: string
          default: '100'
      - description: Offset to start returning elements from. To be used in conjunction with <code>limit</code>.
        in: query
        name: offset
        schema:
          type: string
      - description: Number of elements to return per page. To be used in conjunction with <code>offset</code>.
        in: query
        name: limit
        schema:
          type: string
      - description: Name of the resource field to sort on.
        in: query
        name: sortName
        schema:
          type: string
      - description: Ordering of items when sorting with <code>sortName</code>.
        in: query
        name: sortOrder
        schema:
          type: string
          enum:
          - asc, desc
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LicenseGroupResponse'
          description: A list of all license groups
          headers:
            X-Total-Count:
              description: The total number of license groups
              schema:
                format: integer
              style: simple
        '401':
          description: Unauthorized
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      summary: Returns a list of all license groups
      tags:
      - licenseGroup
    post:
      description: Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_UPDATE
      operationId: updateLicenseGroup
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLicenseGroupRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseGroupResponse'
          description: The updated license group
        '401':
          description: Unauthorized
        '404':
          description: The license group could not be found
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      summary: Updates a license group
      tags:
      - licenseGroup
    put:
      description: Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_CREATE
      operationId: createLicenseGroup
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLicenseGroupRequest'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseGroupResponse'
          description: The created license group
        '401':
          description: Unauthorized
        '409':
          description: A license group with the specified name already exists
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      summary: Creates a new license group
      tags:
      - licenseGroup
    servers:
    - url: /api
  /v1/licenseGroup/{uuid}:
    delete:
      description: Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_DELETE
      operationId: deleteLicenseGroup
      parameters:
      - description: The UUID of the license group to delete
        in: path
        name: uuid
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: License group removed successfully
        '401':
          description: Unauthorized
        '404':
          description: The UUID of the license group could not be found
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      summary: Deletes a license group
      tags:
      - licenseGroup
    get:
      description: Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_READ
      operationId: getLicenseGroup
      parameters:
      - description: The UUID of the license group to retrieve
        in: path
        name: uuid
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseGroupResponse'
          description: A specific license group
        '401':
          description: Unauthorized
        '404':
          description: The license group could not be found
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      summary: Returns a specific license group
      tags:
      - licenseGroup
    servers:
    - url: /api
  /v1/licenseGroup/{uuid}/license/{licenseUuid}:
    delete:
      description: Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_UPDATE
      operationId: removeLicenseFromLicenseGroup
      parameters:
      - description: A valid license group
        in: path
        name: uuid
        required: true
        schema:
          type: string
          format: uuid
      - description: A valid license
        in: path
        name: licenseUuid
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseGroupResponse'
          description: The updated license group
        '304':
          description: The license is not a member with the license group
        '401':
          description: Unauthorized
        '404':
          description: The license group or license could not be found
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      summary: Removes the license from the license group
      tags:
      - licenseGroup
    post:
      description: Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_UPDATE
      operationId: addLicenseToLicenseGroup
      parameters:
      - description: A valid license group
        in: path
        name: uuid
        required: true
        schema:
          type: string
          format: uuid
      - description: A valid license
        in: path
        name: licenseUuid
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LicenseGroupResponse'
          description: The updated license group
        '304':
          description: The license group already has the specified license assigned
        '401':
          description: Unauthorized
        '404':
          description: The license group or license could not be found
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      summary: Adds the license to the specified license group
      tags:
      - licenseGroup
    servers:
    - url: /api
components:
  schemas:
    LicenseGroup:
      type: object
      properties:
        licenses:
          type: array
          items:
            $ref: '#/components/schemas/License'
        name:
          type: string
          maxLength: 255
          minLength: 1
          pattern: ^[\p{IsWhite_Space}\p{L}\p{M}\p{S}\p{N}\p{P}]*$
        riskWeight:
          type: integer
          format: int32
        uuid:
          type: string
          format: uuid
      required:
      - name
      - uuid
    CreateLicenseGroupRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the license group
          maxLength: 255
          minLength: 1
          pattern: ^[\p{IsWhite_Space}\p{L}\p{M}\p{S}\p{N}\p{P}]*$
      required:
      - name
    LicenseGroupResponse:
      type: object
      properties:
        licenses:
          type: array
          description: Licenses belonging to the license group
          items:
            $ref: '#/components/schemas/License'
        name:
          type: string
          description: Name of the license group
        riskWeight:
          type: integer
          format: int32
          description: Risk weight assigned to violations of this group
        uuid:
          type: string
          format: uuid
          description: UUID of the license group
      required:
      - licenses
      - name
      - riskWeight
      - uuid
    License:
      type: object
      properties:
        isCustomLicense:
          type: boolean
        isDeprecatedLicenseId:
          type: boolean
        isFsfLibre:
          type: boolean
        isOsiApproved:
          type: boolean
        licenseComments:
          type: string
        licenseGroups:
          type: array
          items:
            $ref: '#/components/schemas/LicenseGroup'
        licenseId:
          type: string
          maxLength: 255
          minLength: 1
          pattern: ^[a-zA-Z0-9_.\-+]*$
        licenseText:
          type: string
        name:
          type: string
          maxLength: 255
          minLength: 1
          pattern: ^[\p{IsWhite_Space}\p{L}\p{M}\p{S}\p{N}\p{P}]*$
        seeAlso:
          type: array
          items:
            type: string
        standardLicenseHeader:
          type: string
        standardLicenseTemplate:
          type: string
        uuid:
          type: string
          format: uuid
      required:
      - licenseId
      - name
      - uuid
    UpdateLicenseGroupRequest:
      type: object
      properties:
        name:
          type: string
          description: New name of the license group
          maxLength: 255
          minLength: 1
          pattern: ^[\p{IsWhite_Space}\p{L}\p{M}\p{S}\p{N}\p{P}]*$
        uuid:
          type: string
          format: uuid
          description: UUID of the license group to update
      required:
      - name
      - uuid
  securitySchemes:
    ApiKeyAuth:
      description: Authentication via API key.
      in: header
      name: X-Api-Key
      type: apiKey
    BearerAuth:
      bearerFormat: Opaque
      description: 'Authentication via opaque server-issued session token.

        Tokens are obtained from `POST /api/v1/user/login` or

        `POST /api/v1/user/oidc/login`.'
      scheme: bearer
      type: http
x-refined-from:
- dependency-track-openapi-v1.yaml
- dependency-track-openapi.yml