Delete an Application

delete

/paas/service/apaas/api/v1.1/apps/{identityDomainId}/{appName}

Deletes an application. Returns details about the application being deleted.

Request

Path Parameters
Back to Top

Response

Supported Media Types

202 Response

Accepted
Body ()
The response body contains information about the application.
Root Schema : viewApp-activity-response
Type: object
The response body contains information about the application.
Show Source
Nested Schema : instances
Type: array
Shows all instances currently running.
Show Source
Nested Schema : latestDeployment
Type: array
Shows all deployments currently in progress.
Show Source
Nested Schema : runningDeployment
Type: array
Shows all deployments currently running.
Show Source
Nested Schema : viewInstance
Type: object
Show Source
Nested Schema : viewDeploy
Type: object
Show Source

400 Response

Bad Request. Returned if the application does not exist.
Back to Top

Examples

The following example shows how to delete an Oracle Application Cloud Service application instance by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, including how to determine your region, see Send Requests.

curl -i -X DELETE -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/ExampleAppName

Example of Response Header

The following shows an example of the response header.

Date:Thu,16Apr201508:43:38GMT
Location:https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/apaasmaster/MyFirstApp/opStatus/157
Retry-After:5
Service-URI:https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/apaasmaster/MyFirstApp
Transfer-Encoding:chunked
X-Frame-Options:DENY
X-Powered-By:Servlet/2.5JSP/2.1

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
 "identityDomain": "ExampleIdentityDomain",
  "appId": "996b4bcd-89c3-4231-9c0d-2cd7322268e9",
  "name": "ExampleAppName",
  "status": "RUNNING",
  "createdBy": "weblogic",
  "creationTime": "2015-09-25T02:46:54.165-0700",
  "lastModifiedTime": "2015-09-25T02:46:53.943-0700",
  "subscriptionType": "MONTHLY",
  "instances": [],
  "runningDeployment": {
    "deploymentId": "ee9714dc-a2d0-4d6e-8b3c-8f0d185577b2",
    "deploymentStatus": "READY",
    "deploymentURL": "http://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/MyFirstApp/deployments/ee9714dc-a2d0-4d6e-8b3c-8f0d185577b2"
  },
  "lastestDeployment": {
    "deploymentId": "ee9714dc-a2d0-4d6e-8b3c-8f0d185577b2",
    "deploymentStatus": "READY",
    "deploymentURL": "http://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/MyFirstApp/deployments/ee9714dc-a2d0-4d6e-8b3c-8f0d185577b2"
  },
  "currentOngoingActivity": "Deleting Application",
  "appURL": "http://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/MyFirstApp",
  "webUrl": "http://MyFirstApp-apaasmaster-dev.apaas.demo.oraclecloudapps.com:8080"
  "message": []
}
Back to Top