Upload license

PUT /v1/features/license

Upload a new license for Redpanda.

application/json

Body

  • expires integer(int64)

    Expiration date of the license in Unix epoch seconds

  • format_version integer(int32)

    license schema version evolution number

  • org string

    client the license was generated for

  • sha256 string

    Checksum (sha256) of the raw license data

  • type string

    type of license, currently only free_trial or enterprise

Responses

  • 200

    Upload license success

PUT /v1/features/license
curl \
 --request PUT 'http://localhost:9644/v1/features/license' \
 --header "Content-Type: application/json" \
 --data '{"expires":42,"format_version":42,"org":"string","sha256":"string","type":"string"}'
Request examples
{
  "expires": 42,
  "format_version": 42,
  "org": "string",
  "sha256": "string",
  "type": "string"
}