changewlsinstancepwd

API Name

changewlsinstancepwd

Description

Changes the password on the Server Manager Agent side as well as the WebLogic side for all the domains within a WebLogic Server instance for the WegLogic administrator account.

REST Methods

POST

Precondition

Admin servers of all the domains on this WebLogic instance must be running, and the administrator password for all the domains must be same.

Input Params

wlsInstanceName, username, password, newPassword Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

{"wlsInstanceName":"WLS12.2.1","username":"weblogic","password":"password","newPassword":"password"} This is the sample request if you have duplicate instance names: {"wlsInstanceName":"WLS12.2.1","username":"weblogic","password":"password","newPassword":"password", "agentHostName":"jdesmc.example.com", "jdeHome":"/slot/ems12400/oracle/jde_agent_jas/SCFHA"}

Return

HTTPS status accepted is returned if successful.

Sample Response

{ "instanceName":"PS_JAS_7114", "targetType":"webserver"}

Exception

Response.Status.INTERNAL_SERVER_ERROR