Dissociate Two Partitions

post

/management/lifecycle/{version}/environments/{environment}/dissociatePartitions

The POST method dissociates two partitions.

Roles

Admin

Request

Supported Media Types
Path Parameters
Body ()
The request body must include a fully populated dissociate partitions model.
Root Schema : Dissociate Partitions
Type: object
Includes the names of two partitions to dissociate and arbitrary properties.
Show Source
Nested Schema : properties
Type: array
Arbitrary properties. These may include jdbcSystemResource and jdbcSystemResourceOverride properties.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : Property
Type: object
Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Show Source
Nested Schema : properties
Type: array
Property Properties value.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : values
Type: array
Property String values.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Security
Back to Top

Response

200 Response

Back to Top

Examples

Dissociating WLS partition and PDB

This example uses the POST method to dissociate two partitions.

Example Request
curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-d '{
 "partition1Name": "SpritePartition",
 "partition1RuntimeName": "WLSRuntime",
 "partition2Name": "SpritePDB",
 "partition2RuntimeName": "DBRuntime",
 "properties":[
    {"name": "jdbcSystemResource", "properties" : [
      {"name": "resourceGroups", "properties": [
        {"name": "g1", "value": "SpritePDB"}]}]},
    {"name": "jdbcSystemResourceOverride", "value": "SpritePDB" }]}' \
-X POST http://localhost:7001/management/lifecycle/latest/environments/sprite/dissociatePartitions
Example Response
HTTP/1.1 200 OK
Response Body:
{}
Back to Top