Table of Contents

Search

  1. Preface
  2. Introduction to Vibe Data Stream Custom Entity Types
  3. Managing Custom Entity Types
  4. Custom Entities from Maven Archetypes
  5. REST APIs
  6. HTTP Request and Response Parameters
  7. Sample JSON Requests and Responses
  8. Glossary

Developer Guide

Developer Guide

Delete Aggregators

Delete Aggregators

Use the POST method to delete an aggregator in VDS.

POST Request in JSON Format

Generate a POST request. For example, the following POST request deletes an aggregator:
POST /api/dataflows/{dataflowId:\\d+}/aggregators/{aggregator-id} Content-Type: application/json Accept: application/json x-http-method-override: DELETE

POST Response in JSON Format

The following is a sample response for the 404 Not Found code:
{ "success": false, "errors": [ { "code": AGGREGATOR_NOT_FOUND, "parameters": [{aggregator-id}], "errorMessage": "Aggregator with Id: {aggregator-id} not found" } ] } 500 Internal Server Error { "success": false, "errors": [ { "code": INTERNAL_SERVER_ERROR, "parameters": [{aggregator-id}, {error-message}], "errorMessage": "Failed to delete aggregator with Id:{aggregator-id}. Exception: {error-message}" } ] }

0 COMMENTS

We’d like to hear from you!