3.3. Delete a single row from the table, by primary key.
DELETE {{baseUrl}}/tables/:tableNameOrId/rows?compartmentId={{compartment_ocid}}&key=id:1&isGetReturnRow=false&timeoutInMs=5000
Delete a single row from the table, by primary key.
Body
PARAM
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. | |
|