Logo
OCI NoSQL Playground API Documentation

6.2. Delete a table by tableNameOrId. Copy

DELETE {{baseUrl}}/tables/:tableNameOrId?compartmentId={{compartment_ocid}}&isIfExists=false

Delete a table by tableNameOrId.

 

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.
isIfExists
boolean Set as true to select "if exists" behavior.



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



Curl
curl -X DELETE 'https://nosql.region.oci.oraclecloud.com/20190828/tables/:tableNameOrId?compartmentId=compartment_ocid&isIfExists=false?compartmentId=compartment_ocid&isIfExists=false' -H 'if-match: false' -H 'opc-request-id: $randomUUID' -H 'Accept: application/json'

ENDPOINTS