- I’m using the Variables Endpoints on the REST API to create variables and set variable mode values
- On a previous file, I’d created 1 collection with several variables using the UI.
- I believe our designer duplicated this file to make updates. The new file is our current working version
- On the new file In the UI, If I explore ‘Local Variables’, there is a default collection, with no variables present
- However if I use the Get local variables endpoint on this file, I see the same collection as on the previous file with the same variables.
- If I change the name of the collection on the previous file, it is not reflected on what the API returns for the new file
- If I try to use the API to delete this collection I get a 400 error
Cannot update or delete a remote variable collection
So my goal is to remove the collection and it’s variables from this new file. I’m confused how to accomplish this, or where the remote variable collection exists.
Also want to prevent one of these remote collections from being made if we duplicate our file again in the future.
Appreciate any guidance, thanks.