v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Connections

Perform Batch Operations on Connections

Performs batch operations on Connections. Executes batch create, update, and delete operations, returning the affected Connection IDs.

patch/v2.0/connections

Query parameters

projectIdstring

The unique identifier for the Project.

Headers

Accept'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Request body

Example request

{
  "operations": [
    {
      "value": {
        "name": "some name",
        "type": "http_basic",
        "extension": "@cognigy/basic-nodes",
        "fields": {
          "some-key-from-connection-schema": "x123sdfu12312"
        }
      }
    }
  ]
}

Response

Batch operations completed successfully.

createdstring[]
updatedstring[]
deletedstring[]