psm caching delete-service

This command deletes an Oracle Application Container Cloud Service application cache.

Syntax

psm caching delete-service 
-s|--service-name name 
[-f|--force] 
[-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-s, --service-name Name of the cache.
-f, --force (Optional) Forces the deletion despite any PaaS script failures.

-of|--output-format json|html|short

(Optional) Specifies the output format of the command’s response:

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Example

$ psm caching delete-service -s MyCacheService
{
    "details":{
        "jobId":"23784",
        "message":"Submitted job to delete service [MyCacheService] in domain [apaasuser]."
    }
}
Job ID : 23784

More Information

Exploring the Cache Services Page in Using Caches in Oracle Application Container Cloud Service