Endpoints
Rename Namespace
Renames a namespace of an index.
POST
The default namespace, which is the empty string
"", cannot be renamed.There should not be a namespace with the given new namespace name, unless the
delete existing flag is passed.
Request
string
required
The name of the namespace to rename.
string
required
The new name of the namespace.
boolean
default:"false"
When the delete existing flag is passed, if there exists a namespace
with the new namespace name, it is deleted before the rename operation.
Response
boolean
Whether the namespace is renamed or not.