---
title: "Create Device Bootstrap Token"
method: POST
path: "/api/v1/admin/devices/{device_id}/bootstrap-tokens"
tags: ["device administration"]
---

# Create Device Bootstrap Token

`POST /api/v1/admin/devices/{device_id}/bootstrap-tokens`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/v1/admin/devices/{device_id}/bootstrap-tokens`
- Auth: HTTP bearer

## Path parameters

- `device_id` string, required

## Request body

- BootstrapTokenIssue
  - `ttl_seconds` integer

## Response `201`

Successful Response

- BootstrapTokenResponse
  - `token_id` string, uuid, required
  - `device_id` string, required
  - `bootstrap_token` string, required
  - `expires_at` string, date-time, required
  - `token_hint` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brumby/apis/brumby-platform-api.md) - [All operations](https://skmtc.dev/brumby/apis/brumby-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brumby/apis/brumby-platform-api/revisions/fe185e20813e?raw)
