Update cluster setup

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

Headers

api-keystringRequired

Query parameters

timeoutintegerOptional

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

Request

Collection cluster update operations
MoveShardOperationobjectRequired
OR
ReplicateShardOperationobjectRequired
OR
AbortTransferOperationobjectRequired
OR
DropReplicaOperationobjectRequired
OR
CreateShardingKeyOperationobjectRequired
OR
DropShardingKeyOperationobjectRequired
OR
RestartTransferOperationobjectRequired
OR
StartReshardingOperationobjectRequired
OR
AbortReshardingOperationobjectRequired

Response

successful operation
usageobject or any or null
timedouble or null
Time spent to process this request
statusstring or null
resultboolean or null