Undeploy This Application
delete
/management/weblogic/{version}/edit/appDeployments/{name}
Undeploy this application.
This method supports both asynchronous and best effort synchronous invocations. The behavior is controlled by the 'Prefer' header.
Request
Path Parameters
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
Header Parameters
-
Prefer(optional): string
The 'Prefer' header parameter can be used to specify the preference on how this method runs. A value of 'respond-async' specifies a preference to submit the request and return immediately without waiting for completion. Alternatively a value of 'wait=#seconds' specifies a preference to wait for #seconds for method completion before returning. If the Prefer header is not specified or invalid, then a 300 second wait will be used.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Security
-
Admin: basic
Type:
basicDescription:A user in the Admin security role. -
Deployer: basic
Type:
basicDescription:A user in the Deployer security role.
Response
200 Response
Examples
Synchronously delete this app deployment.
This example uses the DELETE method to synchronously remove this app deployment.
Example Request
curl -v \ --user admin:admin123 \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X DELETE http://localhost:7001/management/weblogic/latest/edit/appDeployments/fairShare?links=job,abort&fields=completed,progress,error,state,operationType,applicationName
Example Response
HTTP/1.1 200 OK
Response Body:
{
"links": [{
"rel": "job",
"href": "http:\//localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/fairShare"
}],
"operationType": 5,
"state": "STATE_COMPLETED",
"applicationName": "fairShare",
"progress": "success",
"completed": true
}
Asynchronously delete this app deployment.
This example uses the DELETE method to asynchronously remove this app deployment.
Example Request
curl -v \ --user admin:admin123 \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -H "Prefer:respond-async" \ -X DELETE http://localhost:7001/management/weblogic/latest/edit/appDeployments/fairShare?links=job,abort&fields=completed,progress,error,state,operationType,applicationName
Example Response
HTTP/1.1 202 Accepted
Location: http://localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/fairShare
Response Body:
{
"links": [{
"rel": "job",
"href": "http:\//localhost:7001/management/weblogic/latest/domainRuntime/deploymentManager/deploymentProgressObjects/fairShare"
}],
"operationType": 5,
"state": "STATE_RUNNING",
"applicationName": "fairShare",
"progress": "processing",
"completed": false
}
Back to Top