# Create license

WARNING: The generated curl command is incorrect, so please refer to the Masking API guide for instructions on how to upload files through the API

Endpoint: POST /license
Version: 5.1.51
Security: api_key

## Security:

  - `api_key` (unknown)
    apiKey in header Authorization

## Request fields (multipart/form-data):

  - `licenseFile` (string, required)
    The license file to be uploaded. The logical name of the license will be exactly the name of this uploaded file

  - `licenseType` (string, required)
    The type of the license file being uploaded
    Enum: "JDBC_DRIVER"

  - `jdbcDriverId` (integer, required)
    The ID number of the JDBC driver.

## Response 200:

  - `200` (unknown)
    Success

## Response 200 fields (application/json):

  - `licenseId` (integer)
    The ID number of the license. This field is auto-generated by the Masking Engine.

  - `licenseFileName` (string)
    The name of the license, as inferred from the uploaded file.

  - `licenseType` (string)
    The type of file that this license describes.
    Enum: "JDBC_DRIVER"

  - `jdbcDriverId` (integer)
    The ID number of the JDBC driver.

  - `createdTime` (string)
    The time when the license was added. This field is auto-generated by the Masking Engine.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 403:

  - `403` (unknown)
    Forbidden access

## Response 404:

  - `404` (unknown)
    Not found

## Response 409:

  - `409` (unknown)
    Conflict

