admin

Create Tenant

Provision a new B2B tenant and generate its API key. The plaintext key is returned once — it cannot be recovered later. Requires X-Admin-Key header matching ADMIN_SECRET_KEY.

post/api/v1/admin/tenants

Request

  • Base URL: https://yondry.app (the document declares no server; this is the origin it was published from)
  • URL: https://yondry.app/api/v1/admin/tenants
  • Auth: none declared

Headers

X-Admin-Keystring nullable

Request body

namestring required
slugstring required
plan_limit_per_monthinteger nullable

Response

Successful Response

tenant_idstring required
namestring required
slugstring required
api_keystring required
plan_limit_per_monthinteger nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.