{ "opencollection": "1.0.0", "info": { "name": "openobserve Actions ServiceAccounts API", "version": "0.90.0" }, "items": [ { "info": { "name": "ServiceAccounts", "type": "folder" }, "items": [ { "info": { "name": "List service accounts", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/:org_id/service_accounts", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization name" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieves a list of all service accounts in the organization. Service accounts are special user accounts designed for automated systems and applications to authenticate and access resources without human intervention. Each service account has an associated API token for programmatic access." }, { "info": { "name": "Create service account", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/:org_id/service_accounts", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization name" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Creates a new service account for automated systems and applications. Service accounts provide a secure way for non-human users to authenticate and access resources programmatically. Each service account is automatically assigned an API token that can be used for authentication in automated workflows and integrations." }, { "info": { "name": "Update service account", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/api/:org_id/service_accounts/:email_id", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization name" }, { "name": "email_id", "value": "", "type": "path", "description": "Service Account email id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Updates an existing service account's information such as first name and last name. You can also rotate the API token by adding the 'rotateToken=true' query parameter, which generates a new authentication token while invalidating the old one. This is useful for security maintenance and credential rotation policies." }, { "info": { "name": "Delete service account", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/:org_id/service_accounts/:email_id", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization name" }, { "name": "email_id", "value": "", "type": "path", "description": "Service Account email id" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Permanently removes a service account from the organization. This action immediately invalidates the associated API token and revokes all access permissions for the service account. Use this when decommissioning automated systems or cleaning up unused accounts. This operation cannot be undone." } ] } ], "bundled": true }