The v2 interface for creating and configuring indexes is still in progress. Please refer to the v1 docs.