younifyd
Menu

Delete shard key

Delete shard key

POST/collections/{collection_name}/shards/delete

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Delete shard key action (under Distributed).
  3. Fill in the fields below, then reference the result from later steps as {{deleteShardKey.response.data}}.

Request

Path parameters

collection_namestringrequired

Name of the collection to create shards for

Query parameters

timeoutinteger

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

Request body

Enter the body as JSON in the step's Body field.

shard_keyoneOfrequired
json
{
  "shard_key": null
}

Response

Returns 200 with an object. Read it in later steps with {{deleteShardKey.response.data.<field>}}.

usageoneOf

Default null

timenumber (float)

Time spent to process this request

statusstring
resultboolean
json
{
  "usage": null,
  "time": 0.002,
  "status": "ok",
  "result": false
}

Need more? See the Qdrant guide for connection setup and behaviour shared by every action.