Skip to main content
This page documents an earlier version of the API client. For the latest version, see Copy or move an index.
Required ACL: editSettings This removes all index rules currently present in the destination index, and replaces them with the rules from the source.

Examples

client.CopyRules("indexNameSrc", "indexNameDest");

// Asynchronous
client.CopyRulesAsync("indexNameSrc", "indexNameDest");

Parameters

indexNameDest
string
required
Name of the destination index.
indexNameSrc
string
required
Name of the source index to copy.
I