@orangebucket is correct. I just finished up a set of tasks for tasker to.
- Get Current location Mode
- Get All Locations Modes / IDs
- Create Location Mode
- Rename Location Mode
- Delete Location Mode
They are available here. SmartThings Rest API using Tasker