Skip to content

suspendAppInstallation

suspendAppInstallation(creds, installationId, opts?): Promise<void>

Defined in: app-info/app-info.ts:134

Suspends an installation of the App this JWT identifies (PUT /app/installations/{id}/suspended): GitHub sends it no webhooks and refuses its tokens until it is unsuspended. Idempotent. Needs only the App’s own JWT.

https://docs.github.com/en/rest/apps/apps#suspend-an-app-installation

GitHubAppCredentials

number

Pick<GitHubClientOptions, "baseUrl" | "fetch"> = {}

Promise<void>