A Cloud Component Provider must expose a series of endpoints that the Eloqua Cloud Components framework calls out to.  One of these endpoints is called "removeInstance".

 

The removeInstance endpoint is what handles the deletion of the component in the external or "cloud" system, when it is removed from the Eloqua Landing Page that it resides on. 

 

Here is an example of what a removeInstance endpoint in the Provider could look like:

 

This endpoint will be called with a DELETE method.


https://mycompany.com/ccpservice/components/remove/{Id}

 

Now, Let's look at how this is used by the Cloud Component framework.

 

CCPframework-removeInstance.png

 

When a marketer removes a Cloud Component from a Landing Page, through the editor in Eloqua, the removeInstance endpoint is called with a DELETE method.  When the endpoint is called, a GUID is passed though the parameter “{Id}” along with the call.  The provider must be able to accept this parameter, and use it to remove/delete the component from their system.