connector update status
POST
api.wexa.ai/connectors/change_status
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'api.wexa.ai/connectors/change_status' \
--header 'x-api-key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--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-23 12:37:08