Skip to content
Ona Docs

DeleteSCMIntegration

runners.configurations.scm_integrations.delete(ScmIntegrationDeleteParams**kwargs) -> object
POST/gitpod.v1.RunnerConfigurationService/DeleteSCMIntegration

Deletes an SCM integration.

Use this method to:

  • Remove unused integrations
  • Clean up configurations
  • Revoke SCM access

Examples

  • Delete integration:

    Removes an SCM integration.

    id: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
ParametersExpand Collapse
id: Optional[str]
formatuuid
ReturnsExpand Collapse
object

DeleteSCMIntegration

import os
from gitpod import Gitpod

client = Gitpod(
    bearer_token=os.environ.get("GITPOD_API_KEY"),  # This is the default and can be omitted
)
scm_integration = client.runners.configurations.scm_integrations.delete(
    id="d2c94c27-3b76-4a42-b88c-95a85e392c68",
)
print(scm_integration)
{}
Returns Examples
{}