Delete a single row from the table, by primary key.
DELETE {{baseUrl}}/tables/:tableNameOrId/rows?compartmentId={{compartment_ocid}}&key=do ullamco&key=id in velit&isGetReturnRow=false&timeoutInMs=5000
Delete a single row from the table, by primary key.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | The ID of a table's compartment. When a table is identified | |
by name, the compartmentId is often needed to provide | |||
context for interpreting the name. | |||
key | string | (Required) An array of strings, each of the format "column-name:value", | |
representing the primary key of the row. | |||
key | string | (Required) An array of strings, each of the format "column-name:value", | |
representing the primary key of the row. | |||
isGetReturnRow | boolean | If true, and the operation fails due to an option setting | |
(ifVersion et al), then the existing row will be returned. | |||
timeoutInMs | number | Timeout setting for this operation. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | boolean | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource will be updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
opc-request-id | string | The client request ID for tracing. | |
Accept | string |
RESPONSES
status: OK
{"existingValue":{"commodo_3":{}},"existingVersion":"tempor ullamco amet dolore","isSuccess":false,"usage":{"readUnitsConsumed":19368028,"writeUnitsConsumed":36986014}}