Update cluster setup

POST

Updates the cluster configuration for a specified collection.

Path parameters

collection_namestringRequired

Name of the collection on which to to apply the cluster update operation

Query parameters

timeoutintegerOptional

Wait for operation commit timeout in seconds. If timeout is reached - request will return with service error.

Request

This endpoint expects an object.
Move Shard Operationobject
OR
Replicate Shard Operationobject
OR
Abort Transfer Operationobject
OR
Drop Replica Operationobject
OR
Create Sharding Key Operationobject
OR
Drop Sharding Key Operationobject
OR
Restart Transfer Operationobject

Response

successful operation

timedoubleOptional

Time spent to process this request

statusstringOptional
resultbooleanOptional