Replace a document by {document-id}

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

Request Body

{"title"=>"Hello World", "author"=>{"name"=>"DKG"}}

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: OK

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