Delete all searches - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service deletes all of the saved searches that were previously added to the user's library.

Method Endpoint
DELETE
/api/users/{userId}/searches
Path parameter Type Description
{userId} String The user's identifier. See the List users or Search users web services to find a user's ID. It is also possible to get a user's ID from the Manage users menu.

It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.

Return code Description
204 NO CONTENT Confirms the deletion of all searches.
401 UNAUTHORIZED The authorization header is absent or invalid.
403 FORBIDDEN The user or API key does not have the USERS_ADMIN or ADMIN role, or the user corresponding to the USER_ID parameter does not have the SAVED_SEARCH_USER role.
404 NOT FOUND No user exists with this ID.

For a comprehensive list of all possible return codes, see Return codes.