# Cleanup Stale Sources

```
POST 
/v1/dbt/cleanup-sources
```

One-shot cleanup: remove DBTSource rows that reference datasets which no longer exist.

Safe to call multiple times. Use this after deploying the stale-source fix to purge any orphaned rows that accumulated before the fix was in place.

## Responses[​](#responses "Link direto para Responses")

* 200
* 404

Successful Response

Not found
