This project has moved. For the latest updates, please go here.

Destroying a Saved Search

Delete a saved search.
Signature:
public async Task<SavedSearch> DestroySavedSearchAsync(ulong id)
Parameters/Filters:
Name Purpose Type Required
id Saved search ID ulong yes


Return Type: SavedSearch
v3.0 Example:
            ulong savedSearchID = 0;

            SavedSearch savedSearch = 
                await twitterCtx.DestroySavedSearchAsync(savedSearchID);

            if (savedSearch != null)
                Console.WriteLine(
                    "ID: {0}, Search: {1}", 
                    savedSearch.ID, savedSearch.Name);
v2.1 Example:
            var savedSearch = twitterCtx.DestroySavedSearch(101352438);

            Console.WriteLine("ID: {0}, Search: {1}", savedSearch.ID, savedSearch.Name);

Twitter API: saved_searches/destroy/:id

Last edited Nov 29, 2013 at 3:39 AM by JoeMayo, version 9