---
updatedAt: 2026-08-25T23:06:23.000Z
agentTools:
  projectIndex: https://developer.intellistack.com/llms.txt
---

# Update datasource integration

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "CapabilitiesEnvelope": {
        "properties": {
          "searchOperators": {
            "additionalProperties": {
              "items": {
                "enum": [
                  "EQUALS",
                  "GREATER_THAN",
                  "GREATER_THAN_OR_EQUALS",
                  "LESS_THAN",
                  "LESS_THAN_OR_EQUALS",
                  "NOT_EQUALS",
                  "CONTAINS",
                  "STARTS_WITH",
                  "ENDS_WITH"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "DatasourceIntegrationDto": {
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/CapabilitiesEnvelope"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deletedAt": {
            "format": "date-time",
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          },
          "errorMessage": {
            "type": "string"
          },
          "id": {
            "default": "##default",
            "description": "Integration ID",
            "example": "cf666faa-f614-4067-af38-18f807dd9c1f",
            "format": "uuid",
            "type": "string"
          },
          "integrationDescription": {
            "type": "string"
          },
          "integrationName": {
            "type": "string"
          },
          "integrationType": {
            "enum": [
              "EMAIL",
              "SMS",
              "EHR",
              "DB",
              "SALESFORCE",
              "BIGQUERY",
              "POWERBI",
              "DATAVERSE",
              "AIRTABLE",
              "GOOGLE_SHEETS"
            ],
            "type": "string"
          },
          "lastUsedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "serviceProvider": {
            "enum": [
              "REDOX",
              "POSTGRES_DB_DC",
              "ORACLE_DB_DC",
              "MYSQL_DB_DC",
              "MSSQL_DB_DC",
              "SNOWFLAKE_DB_DC",
              "DATABRICKS_DB_DC",
              "SALESFORCE_DC",
              "SALESFORCE_WEBSERVER_FLOW",
              "BIGQUERY_SA_KEY",
              "POWERBI_ROPC_FLOW",
              "DATAVERSE_CLIENT_CREDENTIALS_FLOW",
              "AIRTABLE_API_KEY",
              "GOOGLE_SHEETS_NO_PICKER"
            ],
            "type": "string"
          },
          "status": {
            "description": "Lifecycle status. CONNECTING/CLASSIFYING/CONNECTED/FAILED form the initial connection (bootstrap) lifecycle. RESCANNING is a transient state set only on rescans of an already-connected integration (previous status was CONNECTED or FAILED); it always returns to one of those before the rescan call completes.\n",
            "enum": [
              "CONNECTING",
              "CLASSIFYING",
              "CONNECTED",
              "FAILED",
              "RESCANNING"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateIntegrationRequest": {
        "properties": {
          "integrationDescription": {
            "type": "string"
          },
          "integrationName": {
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Integrations",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/integrations/datasources/{integrationId}": {
      "put": {
        "operationId": "updateDatasourceIntegration",
        "parameters": [
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIntegrationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasourceIntegrationDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update integrations",
        "tags": [
          "Datasource Controller"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "US Production Server",
      "url": "https://api-us.streamline.intellistack.ai"
    },
    {
      "description": "Canada Production Server",
      "url": "https://api-ca.streamline.intellistack.ai"
    }
  ]
}
```