title: PYTHON - Delete items from a collection in Azure Cosmos DB
body: <p>I'm new at developping with Azure. I hope you can help with this code. My gol is to delete the items from a collection in Azure Cosmos DB. but I get http error : 400 if I use this value 'partionKey' = '/Structures' and 404 if the value is ''. The Error Message = "The partition key supplied in x-ms-partitionkey header has fewer components than defined in the the collection"</p>
  
  <pre class="lang-py prettyprint-override"><code>client = cosmos_client.CosmosClient("https://....documents.azure.com:443/", {'masterKey': '...'})
  
  options = {}
  
  options['enableCrossPartitionQuery'] = True
  options['maxItemCount'] = 5
  options['partitionKey'] = '/Structures'
  
  client.DeleteItem("dbs/.../colls/.../docs/.../", options)
  </code></pre>