blob: a488943e46bec5d35766378db4e990021caa7502 [file] [log] [blame]
---++ DELETE /api/entities/delete/:entity-type/:entity-name
* <a href="#Description">Description</a>
* <a href="#Parameters">Parameters</a>
* <a href="#Results">Results</a>
* <a href="#Examples">Examples</a>
---++ Description
Delete the specified entity.
---++ Parameters
* :entity-type can be feed or process.
* :entity-name is name of the feed or process.
* doAs <optional query param> allows the current user to impersonate the user passed in doAs when interacting with the Falcon system.
---++ Results
Results of the delete operation.
---++ Examples
---+++ Rest Call
<verbatim>
DELETE http://localhost:15000/api/entities/delete/cluster/SampleProcess?doAs=joe
</verbatim>
---+++ Result
<verbatim>
{
"requestId": "falcon\/17ff6ca6-1c8a-459f-9ba8-8fec480e384a\n",
"message": "falcon\/SampleProcess(cluster) removed successfully\n",
"status": "SUCCEEDED"
}
</verbatim>