connector update status
POST
https://api.wexa.ai/connectors/change_status
Last modified:2025-04-25 10:34:49
Update Connector Status
connector_id
. This endpoint allows you to modify the connector's status (e.g., pending
, active
, inactive
) and adjust its configuration parameters, such as data source details and authentication credentials.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wexa.ai/connectors/change_status' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
"new_status":"pending",
"connectorID":"68063653fc2e1fb8597c775e",
"data_loader_config": {
"source": "mongodb",
"batch_size": 100,
"auth": {
"username": "admin",
"password": "secure123"
}
}
}'
Response Response Example
{
"status": "success",
"message": "Updated connector status to pending for connectorID 68063653fc2e1fb8597c775e"
}
Request
Header Params
x-api-key
string
required
Example:
{{x-api-key}}
Body Params application/json
Responses
Modified at 2025-04-25 10:34:49