Disconnect an agent from GitHub
PreviewDisconnect 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}/githubSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”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
Example
{ "outcome": "disconnected"}404Agent or GitHub connection not found
Agent or GitHub connection not found