Skip to main content
PUT
/
connection
/
connectors
/
{uuid}
Update connector
curl --request PUT \
  --url https://api.getcargo.io/v1/connection/connectors/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "config": {},
  "rateLimit": {
    "unit": "day",
    "max": 123
  },
  "cacheTtlMilliseconds": 123
}
'
{
  "connector": {
    "uuid": "<string>",
    "workspaceUuid": "<string>",
    "userUuid": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "rateLimit": {
      "unit": "day",
      "max": 123
    },
    "cacheTtlMilliseconds": 123,
    "integrationSlug": "<string>",
    "playsCount": 123,
    "toolsCount": 123,
    "modelsCount": 123,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "deletedAt": "<string>",
    "useCredits": true,
    "config": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

uuid
string
required

Resource UUID

Body

application/json

Request body schema.

name
string

Connector name.

config
Config · object

Connector configuration.

rateLimit
Rate limit · object

Rate limit configuration.

cacheTtlMilliseconds
number | null

Cache time-to-live in milliseconds.

Response

Successful response

connector
Connector · object
required

Updated connector details.