Logo
OCI NoSQL Playground API Documentation

Delete an index.

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

Delete an index from the table identified 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
Curl
curl -X DELETE 'https://nosql.region.oci.oraclecloud.com/20190828/tables/:tableNameOrId/indexes/:indexName?compartmentId=compartment_ocid&isIfExists=false?compartmentId=compartment_ocid&isIfExists=false' -H 'if-match: false' -H 'opc-request-id: $randomUUID' -H 'Accept: application/json'

ENDPOINTS