{ "opencollection": "1.0.0", "info": { "name": "TetraScience Data and AI Cloud Access Groups Tenants API", "version": "4.0" }, "request": { "auth": { "type": "apikey", "key": "ts-auth-token", "value": "{{ts-auth-token}}", "placement": "header" } }, "items": [ { "info": { "name": "Tenants", "type": "folder" }, "items": [ { "info": { "name": "Get all organizations in a tenant", "type": "http" }, "http": { "method": "GET", "url": "https://api.tetrascience.com/v1/tenants/:tenantId/organizations" }, "docs": "Get all organizations in a tenant, needs to be system admin." }, { "info": { "name": "Get all users in a tenant", "type": "http" }, "http": { "method": "GET", "url": "https://api.tetrascience.com/v1/tenants/:tenantId/users", "params": [ { "name": "email", "value": "", "type": "query", "description": "Optional email parameter for filtering users" } ] }, "docs": "Get all users in a tenant, needs to be org or system admin." }, { "info": { "name": "Get tenant information", "type": "http" }, "http": { "method": "GET", "url": "https://api.tetrascience.com/v1/tenants/:tenantId", "params": [ { "name": "tenantId", "value": "", "type": "path" } ] }, "docs": "Get tenant by ID, needs to be org or system admin." }, { "info": { "name": "Update tenant information", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tetrascience.com/v1/tenants/:tenantId", "body": { "type": "json", "data": "{}" } }, "docs": "Update tenant by ID, needs to be system admin." }, { "info": { "name": "Get list of tenants", "type": "http" }, "http": { "method": "GET", "url": "https://api.tetrascience.com/v1/tenants", "params": [ { "name": "subdomain", "value": "", "type": "query", "description": "Optional parameter to return a tenant by subdomain" } ] }, "docs": "Get all tenants, needs to be system admin." }, { "info": { "name": "Create a new tenant.", "type": "http" }, "http": { "method": "POST", "url": "https://api.tetrascience.com/v1/tenants", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new tenant, must be system admin." } ] } ], "bundled": true }