Adjust tilset location code for REST API

Hello! Is somewhere code for “Adjust tileset location” like in Cesium Stories
who I can use in own REST API ?

Did anyone find any resolution to this? It is definitely not in the REST API documentation.