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
Key | Datatype | Required | Description |
---|---|---|---|
X-Cassandra-Token | string | (Required) The token returned from the authorization endpoint for classic databases. Use this token in each request. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"documentId":"e73c77ec-002d-457a-8b65-8ce7cfb15fc7"}