Update Azure Cosmos db partition key to re-distribute existing data (document db)
Now I want to update partition key and re distribute my data but not able to figure it out how can I do it.
Currently it is not possible to update the partition key attribute in a collection or change partition key value in a document.
If you want to change the partition key attribute, you would need to delete that collection and create a new one with correct partition key attribute.
Similarly, if you wish to update the partition key value in a document you must first delete the document and create a new document with correct partition key value.