Skip to main content

Module api_key_handlers

Module api_key_handlers 

Source
Expand description

API Key Management Handlers — Public API v2 (Issues #111, #232)

Enables third-party integrations with KoproGo via API keys. Supports: PropTech, notaries, energy providers, accounting software.

Structs§

ApiKeyCreatedResponse
ApiKeyDto
ApiKeyListResponse
ApiKeyResponse
CreateApiKeyRequest
UpdateApiKeyRequest
create_api_key
Create a new API key (Syndic or SuperAdmin only)
get_api_key
Get a specific API key (hidden body)
list_api_keys
List API keys for organization (key bodies hidden)
revoke_api_key
Revoke an API key (disable it)
rotate_api_key
Rotate an API key: deactivate the old one and issue a replacement that inherits name/description/permissions/rate-limit/expiry. The new secret is returned once (#339 / WP-A7). The old key is invalid immediately.
update_api_key
Update an API key (name, description, rate limit, expiration)