Rename Watchlist
Rename an existing watchlist
Last updated
Rename an existing watchlist
Last updated
This PUT endpoint enables you to rename a specific watchlist of the user whose id is provided in the request's path.
There are six required parameters that must be provided in the request:
Authorization (header). This is the authorization token from the very first token request. The value of this header must have the following format: Bearer BQ898r9fefi
(Bearer
+ 1 space + the token).
API version (path). Unless necessary, leave it at "1.0".
userID (path). This is the ID of the user whose particular watchlist needs to be have one security removed.
watchlistID (path). This is the internal identifier of the watchlist from which a security must be removed. You can retrieve the list of a user's watchlists with .
name (query). This is a string that contains the new name for an existing watchlist.
Here's the final template for this API request:
In response to this API request, you'll receive a JSON file with a dictionary that contains two fields: the modified watchlist's ID and its new name.
Here are some of the common mistakes that developers make when attempting to rename a specific watchlist.
It's crucial to understand that the name parameter must be provided in the request; otherwise you'll receive the 404 status code and the following message:
The following article covers the syntax for this API request in detail.