---
title: "Preview an offline enrollment"
method: POST
path: "/api/v1/bootstrap/enroll/offline/preview"
tags: ["Bootstrap"]
---

# Preview an offline enrollment

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

## Request

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

Runs the offline enrollment validation and reports what it would create. Nothing is persisted.

## Request body

- BootstrapEnrollOfflineRequest: BootstrapEnrollOfflineRequest schema
  - `email` string, required
  - `license` string, required
  - `name` string, required
  - `organization_name` string, required
  - `password` string, required

## Response `200`

OK

- BootstrapEnrollOfflinePreview: BootstrapEnrollOfflinePreview schema
  - `admin_email` string
  - `admin_name` string
  - `expires_at` string, date-time
  - `identity_id` string, uuid
  - `issued_at` string, date-time
  - `mode` string
  - `organization_id` string, uuid
  - `organization_name` string
  - `plan` string
  - `valid` boolean

## 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)
