Previous Next JavaScript must be enabled to correctly display this content

## Deletes database by name

delete

/databases

Deletes the database by name. Deletes the file system, and the underlying ADVM volumes assigned to the database. For example, deleting a database named hrdb also deletes the file system /u02/app/oracle/oradata/hrdb. Do not keep any other files on this database file location.

### Request

Supported Media Types

- application/json

Query Parameters

- dbName: string
  database Name
- pdbName: string
  Pluggable database Name

Header Parameters

- forceEnable: string
  A flag to specify whether force delete is enabled
- opc-idempotency-token: string
  Minimum Length: `1`
  Maximum Length: `64`
  A user-supplied token that uniquely identifies a request. A single request will be acted upon among many requests that share the same token. Idempotency tokens expire after 30 minutes.
- retainOKVWallets: string
  A flag to specify whether retain wallets on OKV server is enabled

Back to Top

### Response

Supported Media Types

- application/json

#### 200 Response

database delete state using name filter.

#### Default Response

An unexpected error has occurred
Body ()
Root Schema : Error
Type: `object`
Show Source

- code(required): string
- message(required): string

    {
        "required":[
            "code",
            "message"
        ],
        "properties":{
            "code":{
                "type":"string"
            },
            "message":{
                "type":"string"
            }
        }
    }

Back to Top