palbaseDocs

Palbase Machines · API

DELETE/machines/github/installations/{installation}

Disconnect an installation

Disconnects one of the project's installations; refused while a machine is built from it.

Called by your server, with the project's secret key.

Path

installationinteger (int64) · requiredThe installation's id, as GitHub names it.
curl
curl -X DELETE "https://<your-ref>.palbase.studio/machines/github/installations/<installation>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

204Disconnected

400Validation failed or a required field is missing

401Missing or invalid API key

403Not the project's secret key; or the request requires elevated owner authentication (`owner_only`, `insufficient_user_authentication`).

404The project has no machine of this name

409The project already has a machine of this name, or has as many machines as it may

429Over the project's request limit, or its machine time for this period is used up

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation UnlinkInstallation of machines's contract.