Disconnect a GitHub repository from an automation. The current code is preserved, but automatic synchronization stops.
DELETEhttps://api.aitronos.com/v1/streamline/automations/{automation_id}/github/disconnect
automation_id string required
The ID of the automation to disconnect.
Authorization string required
Returns the updated automation object with GitHub connection removed.
Bash
- Bash
- Python
- JavaScript
curl -X DELETE "https://api.aitronos.com/v1/streamline/automations/auto_abc123/github/disconnect" \
-H "Authorization: Bearer $FREDDY_SESSION_TOKEN"Response:
{
"id": "auto_abc123",
"name": "My Automation",
"organization_id": "org_xyz789",
"automation_id": "internal_id",
"execution_file_path": "main.py",
"upload_method": "manual",
"description": "Automation description",
"parameters": {},
"git_repository_url": null,
"git_branch": null,
"git_last_commit_sha": null,
"git_last_sync_at": null,
"git_webhook_id": null,
"schedule_enabled": false,
"cron_expression": null,
"timezone": null,
"is_active": true,
"created_at": "2025-11-15T10:00:00Z",
"updated_at": "2025-11-15T10:35:00Z"
}