push/delete

Updated on Thursday, 2 May, 2013 - 08:52
Purpose: 

Delete an existing Subscription.

Syntax: 

    https://api.datasift.com/push/delete

Parameter: Description:
id
required

The id of an existing Subscription.

Example values: 08b923395b6ce8bfa4d96f57f863a1c3

All calls to the API must be properly authenticated with a DataSift username and API key.

The push/delete endpoint allows you to delete the definition of an existing Subscription.

Note: if you delete a push subscription, any data remaining in the push buffer will be lost, but you will be charged for it. You can call push/get to find out if all the data in the buffer has been delivered yet. Look at the bytes_remaining element in the JSON output and check that it is zero. You can call the push/stop endpoint to terminate a subscription early.

For more details, take a look at the Push API overview.

Examples: 

1.  Change the name and output parameters for an existing Subscription:

 

Property: Description:
error Optional error message. Shown only when something goes wrong.

 

Notes: 

The response you will receive will be the HTTP 204 status code. No JSON-encoded data will be sent to you.