---
title: "Create Org Activation Key"
method: POST
path: "/api/admin/organizations/{org_id}/activation-keys"
tags: ["admin"]
---

# Create Org Activation Key

`POST /api/admin/organizations/{org_id}/activation-keys`

Mint a BYOK activation key for an enterprise organization (admin only).

Minting is how an organization is given BYOK: the key is owned by a
service user that is a member of the organization, and the organization
receives an explicit ``byok`` grant. The service user has none of
Quadrillion's own permissions. The plaintext is returned exactly once.

## Path parameters

- `org_id` integer, required

## Request body

- ActivationKeyCreateRequest
  - `label` string, required

## Response `201`

Successful Response

- ActivationKeyCreatedResponse
  - `id` integer, required
  - `label` string, required
  - `prefix` string, required
  - `created_at` string, required
  - `last_used` string, nullable, required
  - `key` string, required
  - `warning` string

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `d7f2f3b8e82d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/admin/organizations/:org_id/activation-keys/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/d61e2ec5a271?raw)
