---
search:
  tags:
    - license
    - POST
seo:
  description: >-
    Upload one or more license files. Reference for the POST /api/v1/license
    endpoint in the TimescaleDB Enterprise API.
  noindex: true
sidebar:
  label: Upload license files
  badge: POST
title: Upload license files
type: openapi-operation
---
Upload one or more license files.

`POST /api/v1/license`

**Request body** (`multipart/form-data`, required)

- `filename` (string<binary>) — filename of the file being uploaded
- `name` (string) — general purpose name for multipart form value

Request body example:

```json
{
  "filename": "string",
  "name": "string"
}
```

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "results": [
    {
      "error": "string",
      "name": "string",
      "ok": true,
      "status": "string"
    }
  ]
}
```
