Overview

DescriptionUsed to undeploy a multi-tenant service cluster in Apache Stratos
URL

/service/definition/<SERVICE_TYPE>

HTTP MethodDELETE
Request/Response Format

application/json

Example

Use case: Undepoly a currently deployed multi-tenant service cluster named appserverdev. The example request is as follows:

curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://<SM_HOST>:9443/stratos/admin/service/definition/<SERVICE_TYPE>	

Sample response

{
  "stratosAdminResponse": {
    "message": "Successfully undeployed service cluster definition for service type appserverdev"
  }
}
  • No labels