Path Parameters
The ID of the GitHub Data Source to be deleted.
Response
Default Response
curl --request DELETE \
  --url https://us.infisical.com/api/v2/secret-scanning/data-sources/github/{dataSourceId}{
  "dataSource": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "externalId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "encryptedCredentials": "<any>",
    "isAutoScanEnabled": true,
    "projectId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "isDisconnected": false,
    "type": "github",
    "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "connection": {
      "app": "github-radar",
      "name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "config": {
      "includeRepos": [
        "*"
      ]
    }
  }
}Delete the specified GitHub Data Source.
curl --request DELETE \
  --url https://us.infisical.com/api/v2/secret-scanning/data-sources/github/{dataSourceId}{
  "dataSource": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "externalId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "encryptedCredentials": "<any>",
    "isAutoScanEnabled": true,
    "projectId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "isDisconnected": false,
    "type": "github",
    "connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "connection": {
      "app": "github-radar",
      "name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "config": {
      "includeRepos": [
        "*"
      ]
    }
  }
}The ID of the GitHub Data Source to be deleted.
Default Response
Show child attributes
Was this page helpful?