Replace a document

Replace an entire document in the collection by its unique identifier. The entire document is replaced with the provided data.