This project has moved and is read-only. For the latest updates, please go here.

Destroying a Saved Search

Delete a saved search.
public async Task<SavedSearch> DestroySavedSearchAsync(ulong id)
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)
                    "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 4:39 AM by JoeMayo, version 9