---
search:
  tags:
    - database-services
    - POST
seo:
  description: >-
    An air-gapped console cannot mint the… Reference for the POST
    /api/v1/database-services/{id}/major-upgrade/grant endpoint in the
    TimescaleDB Enterprise API.
  noindex: true
sidebar:
  label: Give a major upgrade grant
  badge: POST
title: Give a major upgrade grant
type: openapi-operation
---
An air-gapped console cannot mint the licence grant of the new cluster. Upgrade then makes the new cluster and waits: GET /database-services/&#123;id&#125;/major-upgrade shows the fingerprint (last_upgrade.grant_wait). Check out a machine file for that fingerprint under the licence of the service, and send it here. The console verifies it, and the window starts. 409 when no Upgrade waits, or the grant is not for the new cluster and the licence of the service.

`POST /api/v1/database-services/{id}/major-upgrade/grant`

**Request body** (`application/json`, required)

- `certificate` (string, required) — Machine file contents (-----BEGIN MACHINE FILE----- ...)

Request body example:

```json
{
  "certificate": "string"
}
```

**Responses**

- `204` — No Content
- `default` — Error
