PUT /platform/license
curl \
-X PUT https://{{hostname}}/api/v1/platform/license \
-d '{"license":{"version":42,"uid":"string","issuer":"string","issued_to":"string","issue_date_in_millis":42,"type":"string","subscription_type":"string","signature":"string","start_date_in_millis":42,"expiry_date_in_millis":42,"max_allocators":42,"max_ram_per_allocator_mb":42,"max_instances":42,"max_resource_units":42,"operation_mode":"string","cluster_licenses":[{"license":{}}]}}'
Request examples
{
"license": {
"version": 42,
"uid": "string",
"issuer": "string",
"issued_to": "string",
"issue_date_in_millis": 42,
"type": "string",
"subscription_type": "string",
"signature": "string",
"start_date_in_millis": 42,
"expiry_date_in_millis": 42,
"max_allocators": 42,
"max_ram_per_allocator_mb": 42,
"max_instances": 42,
"max_resource_units": 42,
"operation_mode": "string",
"cluster_licenses": [
{
"license": {}
}
]
}
}
Response examples (200)
{}
Response examples (400)
# Headers
x-cloud-error-codes: license.invalid_license
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}