{
  "opencollection": "1.0.0",
  "info": {
    "name": "TetraScience Data and AI Cloud Access Groups Organizations API",
    "version": "4.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "ts-auth-token",
      "value": "{{ts-auth-token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Delete user from organization",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tetrascience.com/v1/organizations/:organizationId/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a user from the organization, revoking all access and permissions. User account data and audit trails are preserved for compliance purposes."
        },
        {
          "info": {
            "name": "Get Users for Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tetrascience.com/v1/organizations/:organizationId/users",
            "params": [
              {
                "name": "userStatus",
                "value": "",
                "type": "query"
              },
              {
                "name": "role",
                "value": "",
                "type": "query"
              },
              {
                "name": "roleId",
                "value": "",
                "type": "query"
              },
              {
                "name": "authType",
                "value": "",
                "type": "query"
              },
              {
                "name": "from",
                "value": "",
                "type": "query"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              },
              {
                "name": "email",
                "value": "",
                "type": "query",
                "description": "Email address of the user (exact match)"
              },
              {
                "name": "firstName",
                "value": "",
                "type": "query",
                "description": "Exact match on user first name"
              },
              {
                "name": "lastName",
                "value": "",
                "type": "query",
                "description": "Exact match on user last name"
              },
              {
                "name": "include",
                "value": "",
                "type": "query"
              },
              {
                "name": "withCredentials",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all users within an organization including their roles, status, last activity, and access permissions for administrative oversight."
        },
        {
          "info": {
            "name": "Add a user to Organization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tetrascience.com/v1/organizations/:organizationId/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a new user to the organization or invite existing users. Assigns default roles and sends invitation emails as configured."
        },
        {
          "info": {
            "name": "Get organization by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tetrascience.com/v1/organizations/:organizationId",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve organization details including settings, features, subdomain, and administrative configuration for management purposes."
        },
        {
          "info": {
            "name": "Update organization by ID",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tetrascience.com/v1/organizations/:organizationId",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update organization properties including name, description, logo, authentication type, email domain, and feature settings. Requires organization or system admin privileges."
        }
      ]
    }
  ],
  "bundled": true
}