Curator API: Delete a Source
DELETE https://api.curator.io/v1.3/sources/SOURCE_ID deletes a source and the posts it collected. The request needs your API key, and your plan must include API access. Only HTTPS is supported.
Authentication
Send your Curator API key (find it in the Curator Dashboard) in one of three ways: as a query string (?api_key=API_KEY), as a Basic auth header with the API key as the username, or as a Bearer token (Authorization: Bearer API_KEY, with Bearer capitalised). You can only delete sources in the account the key belongs to.
Example request
curl -X DELETE "https://api.curator.io/v1.3/sources/SOURCE_ID" \
-H "Authorization: Bearer API_KEY"Parameters
Parameter | Description |
|---|---|
| The source's API ID (a UUID), from its |
Response
A successful delete returns:
{ "data": null, "meta": { "success": true, "message": "Source deleted" } }The source's posts are removed in the background shortly after, and the feed's cached responses are cleared. To stop a source without deleting it, use Curator API: Update a Source with status set to paused.
Errors
Status | When | Body |
|---|---|---|
401 | The API key is missing or not valid. |
|
403 | Your plan does not include API access. |
|
404 | No source in your account has that ID, or it was already deleted. |
|
429 | When rate limiting is enabled, more than 60 requests per minute. |
|