Skip to content
Ona Docs

DeleteSCMIntegration

client.runners.configurations.scmIntegrations.delete(ScmIntegrationDeleteParams { id } body, RequestOptionsoptions?): ScmIntegrationDeleteResponse
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
body: ScmIntegrationDeleteParams { id }
id?: string
formatuuid
ReturnsExpand Collapse
ScmIntegrationDeleteResponse = unknown

DeleteSCMIntegration

import Gitpod from '@gitpod/sdk';

const client = new Gitpod({
  bearerToken: process.env['GITPOD_API_KEY'], // This is the default and can be omitted
});

const scmIntegration = await client.runners.configurations.scmIntegrations.delete({
  id: 'd2c94c27-3b76-4a42-b88c-95a85e392c68',
});

console.log(scmIntegration);
{}
Returns Examples
{}