---
title: "DELETE /{userId}/dataSources/{dataSourceId}"
method: DELETE
path: "/{userId}/dataSources/{dataSourceId}"
tags: ["users"]
---

# DELETE /{userId}/dataSources/{dataSourceId}

`DELETE /{userId}/dataSources/{dataSourceId}`

Deletes the specified data source. The request will fail if the data source contains any data points.

## Path parameters

- `userId` string, required
- `dataSourceId` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/fitness.md) · [All operations](https://skmtc.net/google/apis/fitness/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/fitness/versions/036f4db4a779/schema)
