Skip to content
Docs
GitHub

Disconnect an agent from GitHub

Preview

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).

Public APIEverruns Cloud and self-hosted Platform

DELETE/v1/agents/{agent_id}/github

See authentication for credentials and permissions.

agent_id
required
string

Prefixed public identifier

Responses

200Success

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"
}
404Agent or GitHub connection not found

Agent or GitHub connection not found