By default cbbackupmgr will be configured to back up your index definitions. If you only want your global secondary index definitions backed up however you can configure a backup repository with the command below.
This will create a backup repository that only backups up global secondary indexes and is similar to the curl command you are using above. Each time you make changes to your indexes you can run the backup command in order to backup the latest changes.