odacli delete-database

Use the odacli delete-database command to delete a database.

Syntax

To delete a database:

   odacli  delete-database -i dbid   

Parameters


Parameter Description

--dbid, -i

Identifies the database home identifier (ID) to display.

Use the odacli list-databases command to obtain the --dbid.

--json, -j

 (Optional) Displays JSON output.

-h

(Optional) Displays help for using the command.


Example 9-9 Deleting a Database

To delete a database:

# odacli  delete-database -i my-database-ID