Sample - GitHub REST API
PUT/app/installations/{installation_id}/suspended

Suspend an app installation

Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.

You must use a JWT to access this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
installation_idintegerrequired
The unique identifier of the installation.

2 status codes
204Response
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.