You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Overview

DescriptionUsed to undeploy a Cartridge definition
URL

admin/cartridge/definition/<CARTRIDGE_TYPE> 

HTTP MethodDELETE
Request/Response Formatapplication/json

Example

Use case: Undeploy a PHP Cartridge. The example request is as follows:

curl ­-X DELETE ­-H "Content­-Type: application/json" ­-k -­v -­u admin:admin https://<SM_HOST>:9445/stratos/admin/cartridge/definition/<CARTRIDGE_TYPE>

Sample response

{
  "stratosAdminResponse": {
    "message": "Successfully undeployed cartridge definition with type php"
  }
} 
  • No labels