Create an API key
POST/v1/admin/tenants/:id/keys
Issues a new API key scoped to this tenant. The plaintext key is returned exactly once in the response — it is never stored or shown again. Only a SHA-256 hash is persisted server-side.
Request
Responses
- 201
- 404
API key created (plaintext returned once)
The target resource does not exist.