PUT
/
api
/
v1
/
connectors
/
{id}
curl --request PUT \
  --url https://api.squared.ai/api/v1/connectors/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connector": {
    "name": "<string>",
    "connector_type": "source",
    "configuration": {},
    "connector_name": "<string>"
  }
}'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "name": "<string>",
      "connector_type": "<string>",
      "workspace_id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "configuration": {},
      "connector_name": "<string>",
      "icon": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique ID of the connector

Body

application/json
connector
object

Response

200 - application/json
Connector updated successfully
data
object