Replace a sub document by {document-path}

PUT {{baseUrl}}/v2/namespaces/:namespace-id/collections/:collection-id/:document-id/:document-path

Request Body

{"foo-bar-789"=>{"followers"=>1, "likes"=>7}}

HEADERS

KeyDatatypeRequiredDescription
X-Cassandra-Tokenstring(Required) The token returned from the authorization endpoint for classic databases. Use this token in each request.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"documentId":"e73c77ec-002d-457a-8b65-8ce7cfb15fc7"}