Light Docs
API Reference

Create License

Create a new license.

POST
/api/v1/licenses

Header Parameters

x-api-key*string

The API key to authenticate with.

Request Body

application/json

ownerId*string
creatorId*string
productId*string
expires?string

Response Body

application/json

curl -X POST "https://loading/api/v1/licenses" \  -H "x-api-key: your-api-key-from-config" \  -H "Content-Type: application/json" \  -d '{    "ownerId": "string",    "creatorId": "string",    "productId": "string"  }'
{
  "id": "string",
  "userId": "string",
  "creatorId": "string",
  "productId": "string",
  "expires": "string",
  "maxIps": 0
}