Skip to content
You're viewing documentation for v2026.11.14-beta. It may be out of date.Go to latest
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Upload license files

Upload one or more license files.

POST/api/v1/license
Authorization
tse_sessionAPI key · cookierequired
Request body
requiredmultipart/form-data
filenamestring<binary>

filename of the file being uploaded

namestring

general purpose name for multipart form value

Responses
200

OK

resultsUploadResult[]required
Show properties
Array of UploadResult
errorstring
namestringrequired
okbooleanrequired
statusstring
default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X POST 'https://console.example.com/api/v1/license' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json' \
  --form-string 'filename=string' \
  --form-string 'name=string'
Response
{
  "results": [
    {
      "error": "string",
      "name": "string",
      "ok": true,
      "status": "string"
    }
  ]
}