Appearance
Delete Feed
FreshDELETE /v1/feeds/:id
Permanently deletes a feed from your account. This operation cannot be undone.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The feed ID to delete |
Code Example
js
const axios = require('axios');
const apiClient = axios.create({
baseURL: 'https://api.rss.app/v1',
headers: {
Authorization: 'Bearer YOUR_API_KEY:YOUR_API_SECRET',
},
});
async function deleteFeed(feedId) {
await apiClient.delete(`/feeds/${feedId}`);
console.log(`Feed ${feedId} deleted`);
}
deleteFeed('feed_abc123')
.catch((err) => console.error(err.response?.data || err.message));Response
HTTP 200 on success. The response body may be empty or contain a confirmation message.
What Happens When You Delete a Feed
Deleting a feed stops RSS.app from monitoring the source. The distributable RSS feed URL (rss_feed_url) associated with this feed will no longer serve content after deletion.
If the feed belongs to one or more bundles, it is automatically removed from those bundles. The bundles themselves are not deleted — they continue to operate with the remaining member feeds.
Deleting a feed does not affect other feeds in your account.
Before Deleting
Check whether the feed is referenced anywhere before deleting:
js
async function safeFeedDelete(feedId) {
// First, check which bundles contain this feed
const bundlesResponse = await apiClient.get('/bundles');
const allBundles = bundlesResponse.data;
const affectedBundles = allBundles.filter((bundle) =>
bundle.feeds.includes(feedId)
);
if (affectedBundles.length > 0) {
console.log(`Warning: Feed is in ${affectedBundles.length} bundle(s):`);
affectedBundles.forEach((b) => console.log(` - ${b.name} (${b.id})`));
console.log('Feed will be removed from these bundles upon deletion.');
}
await apiClient.delete(`/feeds/${feedId}`);
console.log(`Feed ${feedId} deleted.`);
}Error Responses
| Status | Meaning |
|---|---|
| 401 | Authentication failed |
| 404 | Feed not found or does not belong to your account |