Remove an Index

delete

/mobile/system/databaseManagement/tables/{table}/indexes/{index}

Deletes the specified index.

Permissions

Only team members with either the Administrator or Developer role can access the Database Management API. You can use this operation only when the Database_CreateTablesPolicy environment policy is set to allow or explicitOnly.

Request

Path Parameters
Back to Top

Response

Supported Media Types

204 Response

The index was deleted successfully.

404 Response

The index does not exist.

Body ()
Root Schema : Error
Type: object
Title: Error
The error JSON object returned by the service.
Show Source
Nested Schema : o:errorDetails
Type: array
Minimum Number of Items: 0
Included when the error is caused by multiple issues.
Show Source
Nested Schema : Error Detail
Type: object
Title: Error Detail
Show Source
Back to Top

Examples

The following example shows how to remove an index by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -i
-X DELETE 
-u username:password
-H "Oracle-Mobile-Backend-ID: ABCD9278-091f-41aa-9cb2-184bd0586fce"
https://fif.cloud.oracle.com/mobile/system/databaseManagement/tables/Movies/indexes/release

Example of Response Header

The following shows an example of the response header:

204 NO_CONTENT
Tue, 30 Jan 2018 00:30:18 GMT
Back to Top