auth
Self-service registration — create user, tenant, and first API key.
Atomic registration: user + tenant + api_key in one transaction.
Returns JWT access token and the plaintext api_key (shown ONCE). Audit-trail fields (signed_ip, signed_user_agent) come from request headers, not from the request body.
Cross-field validation (consents, password match) is performed here rather than in Pydantic model_validator to emit ADR-014 wire format {"detail": {"error": "...", ...}} instead of FastAPI's default 422 shape.
post/v1/auth/register
Request
- Base URL: https://api.andish.ru (the document declares no server; this is the origin it was published from)
- URL: https://api.andish.ru/v1/auth/register
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.