Docs
Account, keys and webhooks ›

Disconnect git hub installation

DELETE/v1/github/installations/{installationId}

Disconnect git hub installation.

Requestcurl
  1. curl -X DELETE https://agental.io/v1/github/installations/example-installationId \
  2. -H "Authorization: Bearer $AGENTAL_API_KEY"
Answer204 No Content

No body: the status says it was done.

It is not the organization's any more: its jobs are not run here.

Path

installationIdrequired
integer

Headers

Authorizationrequired
Bearer key
An API key that may make this call.

Returns

204 It is not the organization's any more: its jobs are not run here. The App stays installed on GitHub until it is uninstalled there.

Errors and other answers

403 session_required, or
403forbidden only an owner or an admin of the organization.
404not_found no such installation is connected to the organization.

Every error answers { "error": { "code", "message" } }; a key without the action a call needs answers 403 key_action_forbidden, naming it.