Connections
Update a Connection
Update Connection
This endpoint allows the user to update a specific connection within a project by making an HTTP PUT request to the specified URL.
Request Body
connectionType
(string): The type of the connection.credentialSchemaType
(string): The schema type of the credential.credential
(object): The credential information, including the token.
Path Parameters
projectId
(string): The ID of the project.connectionId
(string): The ID of the connection to be updated.
Example Request
{ "connectionType": "airtable", "credentialSchemaType": "airtable_custom_credential_schema", "credential": { "personalAccessToken": "patUl5VmJ1v3aYuVV.b5b5c0720ab3ba0fa5d6012ec8cd326354db01db773f244451ff4575f5a968f3" } }
Response
id
(string): The ID of the updated connection.type
(string): The type of the updated connection.name
(string): The name of the updated connection.appId
(string): The application ID associated with the updated connection.
Example Response
{ "id": "8db17e23-29de-4dab-8886-af9717e0e742", "type": "airtable", "name": "airtable2", "appId": "mtKDhe1U" }
{ "id": "c6883de8-78ab-49fb-93c0-70a13652a341", "type": "stripe", "name": "Stripe Code2", "appId": "mtKDhe1U" }
PUT
/
connections
/
{projectId}
/
{connectionId}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
projectId
string
requiredconnectionId
string
requiredBody
application/json · object
The body is of type object
.
Response
200 - application/json
The response is of type object
.