Skip to main content
DELETE
Unlink GitHub App Repository
string
required
The API key for your account. You can find this in your account settings.
This endpoint removes the repository linked through Link GitHub App Repository, so pushes to that branch stop deploying the application. The code already running is not touched, and the Square Cloud GitHub App stays installed on the repository until you remove it on GitHub. It works with an API key that has the apps:deploy scope, and only the application owner can call it. Unlinking invalidates the cached response from Get Current Deployment. Calls are rate limited to 3 per 60 seconds per user, shared with linking.

Parameters

string
required
The ID of the application. You can find this in the URL of your application’s dashboard.

Response

string
Indicates whether the call was successful.. success if successful, error if not.

Common errors