scale_index

This operation increases or decreases the number of replicas in an index.

Request
Security:
ApiKeyAuth
path Parameters
indexName
required
string

The name of the index

Request Body schema: application/json

The number of replicas

replicas
integer
Responses
202

The index has been successfully updated

400

Bad request,not enough quota.

404

Index not found.

500

Internal error. Can be caused by invalid parameters.

patch/databases/{indexName}
Request samples
application/json
{
  • "replicas": 3
}