com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Undeploying a Cartridge via REST API

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>:9443/stratos/admin/cartridge/definition/<CARTRIDGE_TYPE>

Sample response

{
  "stratosAdminResponse": {
    "message": "Successfully undeployed cartridge definition with type php"
  }
} 
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.