---
updatedAt: 2026-05-27T12:51:02.000Z
agentTools:
  projectIndex: https://developer.onetrust.com/onetrust/llms.txt
---

# Delete Data Source

Use this API to delete an existing data source and its associated scan results.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Data Use Governance - Data Discovery",
    "version": "1.0",
    "contact": {
      "name": "OneTrust Support",
      "url": "https://my.onetrust.com/s/contactsupport"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "description": "The Data Discovery API provides comprehensive REST endpoints for managing data discovery operations including data sources, scan profiles, credentials, and scan jobs with OAuth2 security and extensive filtering capabilities."
  },
  "servers": [
    {
      "url": "https://{hostname}",
      "variables": {
        "hostname": {
          "default": "hostname",
          "description": "The OneTrust hostname such as app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, app-apac.onetrust.com, trial.onetrust.com, or uat.onetrust.com."
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Data Sources",
      "description": "APIs to manage data sources including creation, retrieval, updates, deletion, and comprehensive filtering with support for multiple system types and asset integration.",
      "externalDocs": {
        "description": "OpenAPI 3.1.0 - Download Definition",
        "url": "https://developer.onetrust.com/onetrust/openapi/data-use-governance-data-discovery.json"
      },
      "x-displayName": "Data Sources"
    }
  ],
  "paths": {
    "/api/discovery-scan-config/v3/system/{id}": {
      "delete": {
        "operationId": "deleteSystemUsingDELETE_1",
        "summary": "Delete Data Source",
        "description": "Use this API to delete an existing data source and its associated scan results.",
        "tags": [
          "Data Sources"
        ],
        "x-onetrust": {
          "spec-label": "https://developer.onetrust.com/onetrust/openapi/data-use-governance-data-discovery.json"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "UUID of the data source to be deleted",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "ad390cb4-9ce9-4976-8895-66d724493c7b"
          }
        ],
        "responses": {
          "204": {
            "description": "Data source deleted"
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "429": {
            "description": "Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).",
            "headers": {
              "Retry-After": {
                "schema": {
                  "description": "The number of seconds after which requests will be allowed again.",
                  "format": "int32"
                }
              },
              "ot-period": {
                "schema": {
                  "description": "The unit of time for which the rate limit applies",
                  "enum": [
                    "HOUR",
                    "MINUTE"
                  ]
                }
              },
              "ot-ratelimit-event-id": {
                "schema": {
                  "description": "The unique identifier for the rate-limiting event.",
                  "format": "uuid"
                }
              },
              "ot-request-made": {
                "schema": {
                  "description": "The number of requests made within the specified period.",
                  "format": "int32"
                }
              },
              "ot-requests-allowed": {
                "schema": {
                  "description": "The number of requests allowed within the specified period.",
                  "format": "int32"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "DataUseGovernance-DataDiscovery_OAUTH2": [
              "INTEGRATIONS",
              "DATA_DISCOVERY"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "DataUseGovernance-DataDiscovery_OAUTH2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{hostname}/api/access/v1/oauth/token",
            "scopes": {
              "DATA_DISCOVERY": "DATA_DISCOVERY scope for external systems"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "metrics-enabled": false
  },
  "x-onetrust": {
    "spec-label": "OpenAPI 3.1.0"
  }
}
```

# Sibling pages

* [Get List of Data Sources](https://developer.onetrust.com/onetrust/reference/getallusingget_1.md)
* [Create or Update Data Source](https://developer.onetrust.com/onetrust/reference/upsertsourcesystemv3usingput.md)
* [Get Data Source](https://developer.onetrust.com/onetrust/reference/getdatasourcebyidusingget_1.md)