Remove a Table
delete
/mobile/system/databaseManagement/tables/{table}
Drops the table from the environment's database schema.
Permissions
Only team members with the Mobile_DbMgmt
role can access the Database Management API. You can use this operation only when the environment's Database_CreateTablesPolicy
is set to allow
or explicitOnly
.
Request
Path Parameters
-
table: string
The name of the table.
Response
204 Response
The table was dropped successfully.
Examples
The following example shows how to remove a database table 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
Example of Response Header
The following shows an example of the response header:
204 NO_CONTENT Date: Wed, 17 Jun 2015 00:07:27 GMT