{ "opencollection": "1.0.0", "info": { "name": "Voltair ApiKeys API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "ApiKeys", "type": "folder" }, "items": [ { "info": { "name": "List API keys", "type": "http" }, "http": { "method": "GET", "url": "/api-keys", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Page size (default 50, max 200)" }, { "name": "cursor", "value": "", "type": "query", "description": "Opaque pagination cursor from a previous response" } ] }, "docs": "Lists all API keys for this org. Returns metadata only (prefix, name, dates) — never the raw key or hash." }, { "info": { "name": "Create API key", "type": "http" }, "http": { "method": "POST", "url": "/api-keys", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new API key and its actor record. The role must not have broader permissions than the creating user's role (prevents privilege escalation). Response includes the raw key exactly once." }, { "info": { "name": "Delete API key", "type": "http" }, "http": { "method": "DELETE", "url": "/api-keys/:keyId", "params": [ { "name": "keyId", "value": "", "type": "path" } ] }, "docs": "Soft-deletes an API key. The key is immediately unusable for authentication." } ] } ], "bundled": true }