Change the state of a PDB
post
/database/pdbs/{pdb_name}/status
Changes the state of a pluggable database.
Request
Supported Media Types
- application/json
Path Parameters
-
pdb_name: string
Name of the Pluggable Database.
Root Schema : schema
Type:
Show Source
object
-
getScript(optional):
boolean
If defined, the response will contain a JSON object with the information of the script that was generated for execution. The change of state does not happen.
-
modifyOption:
string
Allowed Values:
[ "IMMEDIATE", "NORMAL", "READ ONLY", "READ WRITE", "RESTRICTED" ]
Extra options for opening and closing a PDB. -
state:
string
Allowed Values:
[ "OPEN", "CLOSE" ]
The target state of the PDB.
Response
Supported Media Types
- application/json
200 Response
The response will indicate the successful execution of a series of PL/SQL statements, or return a set of PL/SQL statements that could be executed to create a pluggable database.