Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name (must exist) |
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: Connection name in path parameter must match the existing connection name.Common Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - | Connection type discriminator field. Must match the existing connection type. Used to identify the connection type in API requests/responses. |
| name | string | Yes | - | Connection name (must match path parameter, or new name if renaming) |
| description | string | No | - | Connection description |
| deployToWorker | boolean | No | true | Whether to deploy to worker |
| enabled | boolean | No | true | Whether connection is enabled |
Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates if the request was successful |
| deploymentResult | object | Deployment result (if deployToWorker=true) |
| deploymentResult.success | boolean | Deployment success |
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).Example 3: Update and Disable
Update connection configuration and disable it.Permissions
- User must have
CONNECTIONS+MANAGEpermission in the project
Notes and Warnings
- Name Matching: Connection name in path parameter must match the existing connection name (or new name if renaming)
- 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
Related Documentation
- Get Connection - Get connection details
- Create Connection - Create a new connection
- Delete Connection - Delete a connection
- Email Connection - Email connection details

