{ "opencollection": "1.0.0", "info": { "name": "Axiom Annotations Tokens API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Tokens", "type": "folder" }, "items": [ { "info": { "name": "List API tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.axiom.co/v2/tokens" }, "docs": "List the API tokens configured for the organization." }, { "info": { "name": "Create an API token", "type": "http" }, "http": { "method": "POST", "url": "https://api.axiom.co/v2/tokens", "body": { "type": "json", "data": "{}" } }, "docs": "Create a scoped API token (basic ingest-only or advanced with query and management scopes). The token secret is returned once at creation." }, { "info": { "name": "Get an API token", "type": "http" }, "http": { "method": "GET", "url": "https://api.axiom.co/v2/tokens/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource ID." } ] }, "docs": "Get an API token" }, { "info": { "name": "Delete an API token", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.axiom.co/v2/tokens/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource ID." } ] }, "docs": "Delete an API token" }, { "info": { "name": "Regenerate an API token", "type": "http" }, "http": { "method": "POST", "url": "https://api.axiom.co/v2/tokens/:id/regenerate", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource ID." } ] }, "docs": "Regenerate the secret of an existing token." } ] } ], "bundled": true }