Have you tried this?
https://api.smartthings.com/v1/locations/{locationId}/modes
You also need the proper scopes on your token (modes)
Have you tried this?
https://api.smartthings.com/v1/locations/{locationId}/modes
You also need the proper scopes on your token (modes)