Skip to main content

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

Full JSON Body Example (Email Connection)

Request Body Fields

The request body structure is identical to Create Connection. See that documentation for complete field descriptions. Important: The connectionName path parameter identifies the existing connection to update. To rename a connection, provide the new name in the name field of the request body while keeping the old name in the path parameter. If name is omitted from the body, the existing name (from the path parameter) is preserved.
Common Fields
Note: Connection-specific fields vary by connection type. See individual connection type documentation for details.

Response

Success Response (200 OK)

Response Fields

Error Response (400 Bad Request)

Common Causes

  • Connection name does not exist
  • Connection name in path does not match name in body (unless renaming)
  • New connection name conflicts with existing connection
  • Invalid connection type (cannot change connection type)
  • Missing required fields for connection type
  • Invalid field values

Error Response (401 Unauthorized)

Error Response (404 Not Found)

cURL Example

Example 1: Update Connection Configuration

Example 2: Rename Connection

Rename a connection by providing a new name in the body (path parameter keeps old name).
Note: The new name must not conflict with existing connections.

Example 3: Update and Disable

Update connection configuration and disable it.

Permissions

  • User must have CONNECTIONS + MANAGE permission in the project

Notes and Warnings

  • Name Change: To rename a connection, provide the new name in the name field of the request body. The path parameter always identifies the existing connection. If the new name conflicts with another connection, the update will fail
  • Type Cannot Change: Connection type (type) cannot be changed. Use Delete and Create to change type.
  • Name Conflicts: If renaming, ensure the new name doesn’t conflict with existing connections
  • Secret Fields: Secret fields can be updated. Ensure you have the correct values.
  • Deployment: If deployToWorker: true, connection is automatically redeployed to workers
  • References: References to certificates or keystores can be updated by providing new names