Api clients / Ruby / V1 / Methods
Jan. 09, 2023
Copy Rules | Ruby API Client V1 (Deprecated)
This version of the Ruby API client has been deprecated in favor of the latest version of the Ruby API client.
Required API Key: any key with the
About this method
Copy the rules of an index to another index on the same app.
Note that this removes all Query Rules currently present in the destination index, and replaces them with the Query Rules from the source.
1 $client->copyRules('indexNameSrc', 'indexNameDest');
Name of the source index to copy.
Name of the destination index.
Did you find this page helpful?