Function updateDataConnection

  • Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.

    Parameters

    • qID: string

      Connection ID

    • query: { spaceId?: string; type?: "connectionname" }

      an object with query parameters

      • OptionalspaceId?: string

        Filtering on connections by space ID

      • Optionaltype?: "connectionname"

        The connection ID in the path becomes a connection name when this query parameter is set.

    • body: ConnectionUpdate

      an object with the body content

    • Optionaloptions: ApiCallOptions

    Returns Promise<UpdateDataConnectionHttpResponse>

    UpdateDataConnectionHttpError