Skip to main content
POST
/
v2
/
ConnectorUpdate
Update connector
curl --request POST \
  --url http://localhost:3000/v2/ConnectorUpdate \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "connectorid": 123,
  "connectorname": "<string>",
  "connectortype": "<string>",
  "connectordesc": "<string>",
  "username": "<string>",
  "apikey": "<string>",
  "status": "<string>",
  "dbhost": "<string>",
  "dbport": "<string>",
  "dbname": "<string>",
  "tablename": "<string>",
  "request_metadata": {}
}
'
{
  "status": "ok"
}

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
connectorid
integer
required

ID of the connector to update

connectorname
string

New name of the connector

connectortype
string

New type of the connector

connectordesc
string

New description of the connector

username
string

Username for database connection

apikey
string

API key for the connector

status
string

Status of the connector

dbhost
string

Database host

dbport
string

Database port

dbname
string

Database name

tablename
string

Table name

request_metadata
object

Additional metadata for the request

Response

200 - application/json

Connector updated successfully

status
string
Example:

"ok"