Enable or disable a personal connector credential on demand.
When a connection is disabled its tools are immediately excluded from all chat sessions — no token overhead, no tool noise. The credential and OAuth connection are preserved and can be re-enabled at any time without re-authenticating.
PATCHhttps://api.aitronos.com/v1/personal-connectors/connections/{credential_id}/active
credential_id string required
The credential ID to toggle (e.g., tcred_43a8fec047f64ba991fbc5f8fa25d2c9).
organization_id string required
Organization ID (e.g., org_722dd7...).
is_active boolean required
true to enable the connection, false to disable it.
The updated connection ID and its new active status.
id string — The credential ID.
is_active boolean — The new active status.
cURL
- Bash
- Python
- JavaScript
# Disable a connection
curl -X PATCH \
"https://api.aitronos.com/v1/personal-connectors/connections/tcred_43a8fec047f64ba991fbc5f8fa25d2c9/active?organization_id=org_722dd7..." \
-H "X-API-Key: $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"is_active": false}'