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>"
}
}
Update an existing license’s properties including expiration, limits, metadata, associated products, and customers. Can also update the license key itself.
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>"
}
}
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...
Your team's UUID. You can find this value in your team's settings on the Lukittu dashboard.
The unique identifier (UUID v4) of the license.
License updated successfully
The response is of type object
.