PATCH /connections/{connectionId} – Updates a connection by its ID with partial modifications.
Headers:
Authorization: Bearer <access_token>
Body:
Path Parameters:
Query Parameters:
200 OK
400
401
404
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
PATCH /connections/exampleConnectionId{ "connectionBody": { "displayName": "Updated Connection Name", "metadata": { "key": "new_value" }, }} Copy
PATCH /connections/exampleConnectionId{ "connectionBody": { "displayName": "Updated Connection Name", "metadata": { "key": "new_value" }, }}
PATCH /connections/exampleUserPoolId{ "provider": "cognito-connection", "connectionBody": { "name": "Updated Connection Name", "metadata": { "key": "new_value" }, }} Copy
PATCH /connections/exampleUserPoolId{ "provider": "cognito-connection", "connectionBody": { "name": "Updated Connection Name", "metadata": { "key": "new_value" }, }}
{ "connectionId": "connection_id", "name": "Updated Connection Name", "type": "connection_type", "status": "active|inactive", "createdAt": "2023-01-01T00:00:00Z", "updatedAt": "2025-01-01T00:00:00Z", "metadata": { "key": "new_value" }, "configuration": { "setting": "value" } Copy
{ "connectionId": "connection_id", "name": "Updated Connection Name", "type": "connection_type", "status": "active|inactive", "createdAt": "2023-01-01T00:00:00Z", "updatedAt": "2025-01-01T00:00:00Z", "metadata": { "key": "new_value" }, "configuration": { "setting": "value" }
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
PATCH /connections/{connectionId} – Updates a connection by its ID with partial modifications.
Remarks
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Body:
Path Parameters:
Query Parameters:
📤 Response
200 OK– JSON stringified object representing the updated connection. See Connection.❗ Errors
400401404500Error Response Format
📦 Examples
📥 Auth0 Request
📥 Cognito Request
📤 Response Example