psm accs delete
This command deletes an Oracle Application Container Cloud Service application.
Any running instances of the deployed application are stopped. The deployed application and its configuration data are deleted. You cannot undo application deletion.
Syntax
psm accs delete
-n|--app-name name
[-of|--output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
-n , --app-name |
Name of the application. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Example
$ psm accs delete -n employees-app -of json
{
"appId":"cc427540-bd17-443c-99fe-b332a28e579a",
"appURL":"https://psm.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleDomain/employees-app",
"createdBy":"jane.user@example.com",
"creationTime":"2016-04-14T20:18:45.410+0000",
"currentOngoingActivity":"Deleting Application",
"identityDomain":"ExampleDomain",
"instances":[
{
"instanceURL":"https://psm.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleDomain/employees-app/instances/web.1",
"memory":"2G",
"name":"web.1",
"status":"RUNNING"
},
{
"instanceURL":"https://psm.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleDomain/employees-app/instances/web.2",
"memory":"2G",
"name":"web.2",
"status":"RUNNING"
}
],
"lastModifiedTime":"2016-04-21T14:53:48.853+0000",
"lastestDeployment":{
"deploymentId":"582b5947-3052-48d0-8e25-e4c0090bee9f",
"deploymentStatus":"READY",
"deploymentURL":"https://psm.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleDomain/employees-app/deployments/582b5947-3052-48d0-8e25-e4c0090bee9f"
},
"message":[],
"name":"employees-app",
"runningDeployment":{
"deploymentId":"582b5947-3052-48d0-8e25-e4c0090bee9f",
"deploymentStatus":"READY",
"deploymentURL":"https://psm.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleDomain/employees-app/deployments/582b5947-3052-48d0-8e25-e4c0090bee9f"
},
"status":"RUNNING",
"subscriptionType":"MONTHLY",
"webURL":"https://employees-app-ExampleDomain.apaas.us2.oraclecloud.com"
}
More Information
Deleting an Applicaton in Using Oracle Application Container Cloud Service