---
title: "Provision"
method: POST
path: "/api/admin/api-keys/provision"
tags: ["Admin"]
---

# Provision

`POST /api/admin/api-keys/provision`

## Request

- Base URL: `https://api.zerogex.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.zerogex.io/api/admin/api-keys/provision`
- Auth: HTTP bearer

## Request body

- ProvisionRequest
  - `user_id` string, required
  - `base_name` string, required
  - `tier` string, nullable
  - `scopes` string[], nullable
  - `revoke_existing` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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