Article ID: 124030, created on Dec 25, 2014, last review on Dec 25, 2014

  • Applies to:
  • APS 2.x


I'm seeing an error when trying to delete a resource using unregisterResource() method in APS PHP runtime:

Internal Server Error: Request to APS controller failed: "{ "error": "APS::Util::Exception", "message": "Application of specified resource does not match: given `2ed15c55-8bd0-42c3-86e7-6c042d5b8251` expected `1e95d486-d5eb-4129-a491-d998b97e3656`." } ". 


unregisterResource() can delete only resources that belong to the application itself.


Use unprovisionResource() to delete POA resources (domains, dns records etc).

More on PHP runtime

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF