PUT
/
api
/
v1
/
dev
/
teams
/
{teamId}
/
licenses
/
id
/
{licenseId}
Update License
curl --request PUT \
  --url https://app.lukittu.com/api/v1/dev/teams/{teamId}/licenses/id/{licenseId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "licenseKey": "ABCD1-EFGH2-IJKL3-MNOP4-QRST5",
  "expirationType": "DURATION",
  "expirationStart": "ACTIVATION",
  "expirationDate": null,
  "expirationDays": 90,
  "suspended": false,
  "productIds": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "customerIds": [
    "789e0123-e89b-12d3-a456-426614174222"
  ],
  "hwidLimit": 3,
  "ipLimit": 5,
  "metadata": []
}'
{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"licenseKey": "<string>",
"ipLimit": 1,
"hwidLimit": 2,
"expirationType": "NEVER",
"expirationStart": "CREATION",
"expirationDate": "2023-11-07T05:31:56Z",
"expirationDays": 2,
"suspended": true,
"metadata": [
{
"key": "<string>",
"value": "<string>",
"locked": true
}
],
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"lastActiveAt": "2023-11-07T05:31:56Z",
"seats": 123,
"customers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"fullName": "<string>",
"username": "<string>",
"metadata": [
{
"key": "<string>",
"value": "<string>",
"locked": true
}
],
"address": {
"street": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postalCode": "<string>"
},
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"products": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"metadata": [
{
"key": "<string>",
"value": "<string>",
"locked": true
}
],
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": true,
"details": "<string>"
}
}

Authorizations

Authorization
string
header
required

API key authentication for development endpoints.

You can create API keys in your team's settings on the Lukittu dashboard. Include the API key in the Authorization header as: Bearer YOUR_API_KEY

Example:

Authorization: Bearer lukittu_api_key_abc123def456...

Path Parameters

teamId
string<uuid>
required

Your team's UUID. You can find this value in your team's settings on the Lukittu dashboard.

licenseId
string<uuid>
required

The unique identifier (UUID v4) of the license.

Body

application/json

Response

200
application/json

License updated successfully

The response is of type object.