{ "opencollection": "1.0.0", "info": { "name": "SigNoz alerts serviceaccount API", "version": "1.0" }, "items": [ { "info": { "name": "serviceaccount", "type": "folder" }, "items": [ { "info": { "name": "List service accounts", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts", "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint lists the service accounts for an organisation" }, { "info": { "name": "Create service account", "type": "http" }, "http": { "method": "POST", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint creates a service account" }, { "info": { "name": "Gets a service account", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint gets an existing service account" }, { "info": { "name": "Updates a service account", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint updates an existing service account" }, { "info": { "name": "Deletes a service account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint deletes an existing service account" }, { "info": { "name": "List service account keys", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id/keys", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint lists the service account keys" }, { "info": { "name": "Create a service account key", "type": "http" }, "http": { "method": "POST", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id/keys", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint creates a service account key" }, { "info": { "name": "Updates a service account key", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id/keys/:fid", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "fid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint updates an existing service account key" }, { "info": { "name": "Revoke a service account key", "type": "http" }, "http": { "method": "DELETE", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id/keys/:fid", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "fid", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint revokes an existing service account key" }, { "info": { "name": "Gets service account roles", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id/roles", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint gets all the roles for the existing service account" }, { "info": { "name": "Create service account role", "type": "http" }, "http": { "method": "POST", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id/roles", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint assigns a role to a service account" }, { "info": { "name": "Delete service account role", "type": "http" }, "http": { "method": "DELETE", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/:id/roles/:rid", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "rid", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "SigNoz-Api-Key", "value": "{{SigNoz-Api-Key}}", "placement": "header" } }, "docs": "This endpoint revokes a role from service account" }, { "info": { "name": "Gets my service account", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/me" }, "docs": "This endpoint gets my service account" }, { "info": { "name": "Updates my service account", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}{base_path}/api/v1/service_accounts/me", "body": { "type": "json", "data": "{}" } }, "docs": "This endpoint gets my service account" } ] } ], "bundled": true }