I got a new Artika Aiden 24 Fandelier with costco and manually added the fan using the commands. However, when trying to rename a few commands I am unable to do so. For example, this if I curl /devices/ , I get a response. However, when I try to list commands, I get 401 unauthorized. This is a fan connected to the Bond Bridge.
The quote-character point is worth ruling out first: if your shell is passing a curly ” instead of a plain ", the header may not be sent as intended. One quick way to check is to print the request with curl -v and confirm the BOND-Token header looks right. Also note the token in your first command is a different value from the second, so make sure you are reusing the correct one for the device. The 401 specifically suggests the token was not received or not matching, rather than a problem reading the commands path.