If you're getting 401 Unauthorized, this might help:
https://stackoverflow.com/a/62795322
Hi Nico,
Thanks for this information. Even there could be Role & Authorization issue also will get this 401 Unauthorized error.
Thanks
Muruga S S