PUT api2/unlock_codes/{id}.json

Unlock Code by ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Unlock Code ID

string

Required

Body Parameters

Unlock Code

api_root
NameDescriptionTypeAdditional information
entry

UnlockRequestKeysBatch

None.

Request Format

{
  "entry": {
    "creation_date": "2024-10-23T04:29:31.7371217+02:00",
    "expiration_date": "2024-10-23T04:29:31.7371217+02:00",
    "user_id": 1,
    "company_id": 1,
    "quantity": 1,
    "max_count": 1,
    "valid": 1,
    "cguser_id": 1,
    "code_usage": 1,
    "license_id": 1,
    "comment": "sample string 2",
    "service_id": 1,
    "code_type": 1,
    "license_id2": 1,
    "auto": true,
    "soap": true,
    "hd": true,
    "start_date": "2024-10-23T04:29:31.7371217+02:00"
  }
}

Response Information

Resource Description

Updated Unlock Code

api_root
NameDescriptionTypeAdditional information
entry

UnlockRequestKeysBatch

None.

Response Format

{
  "entry": {
    "id": 1,
    "creation_date": "2024-10-23T04:29:31.7371217+02:00",
    "expiration_date": "2024-10-23T04:29:31.7371217+02:00",
    "user_id": 1,
    "company_id": 1,
    "quantity": 1,
    "max_count": 1,
    "valid": 1,
    "cguser_id": 1,
    "code_usage": 1,
    "license_id": 1,
    "comment": "sample string 2",
    "service_id": 1,
    "code_type": 1,
    "license_id2": 1,
    "auto": true,
    "soap": true,
    "hd": true,
    "start_date": "2024-10-23T04:29:31.7371217+02:00"
  }
}