Replaces an existing row

PUT {{baseUrl}}/cms/v3/hubdb/tables/:tableIdOrName/rows/:rowId/draft

Replace a single row in the table's draft version. All the column values must be specified. If a column has a value in the target table and this request doesn't define that value, it will be deleted. See the Create a row endpoint for instructions on how to format the JSON row definitions.

Request Body

{"path"=>"<string>", "name"=>"<string>", "childTableId"=>"<long>", "displayIndex"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;values&quot;:{&quot;eu_c_5&quot;:{},&quot;cupidatat1c2&quot;:{}},&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;path&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;childTableId&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;publishedAt&quot;:&quot;\u003cdateTime\u003e&quot;}