CreatePluggableDatabase

POST {{baseUrl}}/pluggableDatabases

Creates and starts a pluggable database in the specified container database. Pluggable Database can be created using different operations (e.g. LocalClone, RemoteClone, Relocate ) with this API. Use the StartPluggableDatabase and StopPluggableDatabase APIs to start and stop the pluggable database.

Request Body

{"pdbName"=>"<string>", "containerDatabaseId"=>"<string>", "containerDatabaseAdminPassword"=>"<string>", "freeformTags"=>{"inaf"=>"<string>", "ipsumc"=>"<string>"}, "pdbAdminPassword"=>"<string>", "pdbCreationTypeDetails"=>{"creationType"=>"LOCAL_CLONE_PDB"}, "shouldCreatePdbBackup"=>"<boolean>", "shouldPdbAdminAccountBeLocked"=>false, "tdeWalletPassword"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
opc-request-idstringUnique identifier for the request.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;lifecycleState&quot;:&quot;DISABLED&quot;,&quot;pdbName&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;containerDatabaseId&quot;:&quot;\u003cstring\u003e&quot;,&quot;openMode&quot;:&quot;MIGRATE&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;connectionStrings&quot;:{&quot;allConnectionStrings&quot;:{&quot;consequat5cb&quot;:&quot;\u003cstring\u003e&quot;,&quot;sunt_3&quot;:&quot;\u003cstring\u003e&quot;},&quot;pdbDefault&quot;:&quot;\u003cstring\u003e&quot;,&quot;pdbIpDefault&quot;:&quot;\u003cstring\u003e&quot;},&quot;definedTags&quot;:{&quot;irure_d8&quot;:{&quot;amet2cd&quot;:{},&quot;qui_9&quot;:{}},&quot;magna7&quot;:{&quot;do7&quot;:{},&quot;et657&quot;:{},&quot;eu_0b&quot;:{}}},&quot;freeformTags&quot;:{&quot;ex_ab&quot;:&quot;\u003cstring\u003e&quot;,&quot;cillum50b&quot;:&quot;\u003cstring\u003e&quot;},&quot;isRestricted&quot;:&quot;\u003cboolean\u003e&quot;,&quot;lifecycleDetails&quot;:&quot;\u003cstring\u003e&quot;,&quot;pdbNodeLevelDetails&quot;:[{&quot;nodeName&quot;:&quot;\u003cstring\u003e&quot;,&quot;openMode&quot;:&quot;READ_ONLY&quot;},{&quot;nodeName&quot;:&quot;\u003cstring\u003e&quot;,&quot;openMode&quot;:&quot;READ_ONLY&quot;}],&quot;refreshableCloneConfig&quot;:{&quot;isRefreshableClone&quot;:&quot;\u003cboolean\u003e&quot;}}