---
title: "Preview a license"
method: POST
path: "/api/v1/bootstrap/enroll/license/preview"
tags: ["Bootstrap"]
---

# Preview a license

`POST /api/v1/bootstrap/enroll/license/preview`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/bootstrap/enroll/license/preview`
- Auth: none required

Verifies a license and reports what it describes. Nothing is persisted.

## Request body

- BootstrapLicensePreviewRequest: BootstrapLicensePreviewRequest schema
  - `license` string, required

## Response `200`

OK

- BootstrapLicensePreview: BootstrapLicensePreview schema
  - `expires_at` string, date-time
  - `mode` string
  - `organization_id` string, uuid
  - `organization_name` string
  - `plan` string

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
