Account, keys and webhooks ›
Disconnect git hub installation
DELETE
/v1/github/installations/{installationId}Disconnect git hub installation.
Requestcurl
- curl -X DELETE https://agental.io/v1/github/installations/example-installationId \
- -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
installationIdrequiredinteger |
Headers
AuthorizationrequiredBearer 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 |
| 403 | forbidden only an owner or an admin of the organization. |
| 404 | not_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.