source/delete

Delete a Managed Source.

An HTTPS DELETE request sent to:

https://api.datasift.com/v1.3/source/delete

A successful call to this endpoint returns: 204 No Content. No JSON-encoded data will be sent to you.

Parameters

Parameter Description
id
required

Source ID. A string.

Example values: e25d533cf287ec44fe66e8362f61961f

Examples

  1. The following is an example of a call to /v1.3/source/delete. You must supply your credentials and the Managed Source ID:

https://api.datasift.com/v1.3/source/delete ?id=d779a6e49a3d41e22fd76e38782db082

Output

Calls to /source/delete return little or no output.

Success (HTTP Code: 204 No Content)

Successful calls to /source/delete return HTTP Code: 204 No Content.

Errors

When things go wrong the Managed Sources API responds with the following errors:

Failure (HTTP Code: 404 Not Found)

Raised when the specified source does not exist.

{
    "error": "Source not found"
}

Notes

  1. All calls to the API must be properly authenticated with a DataSift username and API key.
  2. All calls to the API must be versioned. The current version is v1.3.

Resource information

Rate limit cost: 25

Requires authentication: Yes

Response formats: JSON, JSONP