Delete a shard key

POST
Deletes one or more shard keys for a specified collection.

Path parameters

collection_namestringRequired
Name of the collection to create shards for

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.
shard_keystring or integerRequired

Response

This endpoint returns an object.
timedoubleOptional
Time spent to process this request
statusstringOptional
resultbooleanOptional