Delete Block program deletes a running DCF block.
/catalog/blocks/{instanceId}: delete: tags: - "block" description: "Delete block: delete a running DCF block" operationId: "deleteBlock" produces: - "application/json" parameters: - in: "path" name: "instanceId" description: "UUID of the instantiated DCF block" required: true type: "string" responses: 200: description: "Success" 400: description: "Invalid Request" 500: description: "Exception in deleting the block"
Example:
Request : curl -k -u admin:changeme --request DELETE --url https://127.0.0.1:8443/dcc/v1/catalog/blocks/smarts-metrics035f8121-aaed-4d66-83eb-ae3a7841f720
Response : {"instanceId": "smarts-metrics035f8121-aaed-4d66-83eb-ae3a7841f720", "message": "Block instance successfully deleted", "time": "2019-04-09 05:42:21.204886"}