In some cases it might be necessary to delete all cores stored in ContentOnTarget. Please notice, that this operation cannot be reverted.


The URL for deleting all Cores must not include any core identifier:


The request answer corresponds to the operation state. Therefore, a http status of 200 means the successful deletion of all cores. Otherwise, a detailed error message is provided.

PHP Client Implementation

Example code for deleting all cores using the PHP client:

$config = $config = com\repalogic\ContentOnTarget\Client\Configuration::getConfig("", "user", "userApiHash", "core name does not matter here", "core api hash does not matter here");

$coreApi = new com\repalogic\ContentOnTarget\Client\CoreApi($config);