PATCH
/
connections
/
{connection_id}
cURL
curl --request PATCH \
  --url https://api.datagrid.com/v1/connections/{connection_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "object": "connection",
  "id": "<string>",
  "name": "<string>",
  "teamspace_id": "<string>",
  "connector_id": "<string>",
  "valid": true,
  "value": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connection_id
string
required

The id of the connection to update.

Body

application/json

Response

200 - application/json

Successfully updated connection

The connection object represents an authenticated connection to a third-party service (like Google Drive, Hubspot, Dropbox, etc.) that can be managed through the API.