---
title: "Delete a Data Source"
method: DELETE
path: "/gdc/dataload/dataSources/{dataSourceId}"
tags: ["cloudresource"]
---

# Delete a Data Source

`DELETE /gdc/dataload/dataSources/{dataSourceId}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/dataload/dataSources/{dataSourceId}`
- Auth: none declared

Only the owner of the Data Source or a user with whom this Data Source is shared with the `manage` access can delete it.</br>
A Data Source cannot be deleted if it is used in any data load process. To delete such a Data Source, first [delete the process](https://help.gooddata.com/pages/viewpage.action?pageId=86796427) that uses this Data Source.

## Response `204`

No Content - the given data source was successfully deleted

## Other responses

- `302`: Found
- `400`: Bad Request
- `403`: Forbidden - if current user is not the owner of the data source
- `404`: Not Found - if the data source does not exist
- `409`: Conflict

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
