Skip to content
Everruns Cloud is open in early access. Run agents without operating the platform.

Disconnect an agent from GitHub: uninstall its GitHub App and remove the connection, keeping the App for a later reconnect. When the App was never installed, forget it instead, so the next connect creates a new one (for example in a GitHub organization).

DELETE
/v1/agents/{agent_id}/github
curl --request DELETE \
--url https://app.everruns.com/api/v1/agents/example/github
agent_id
required
string

Prefixed public identifier

Success

Media typeapplication/json

Result of disconnecting an agent from GitHub.

object
outcome
required

What a disconnect did.

string
Allowed values: disconnected started_over
Example
{
"outcome": "disconnected"
}

Agent or GitHub connection not found