Table of Contents

Search

  1. Preface
  2. Introduction to Edge Data Streaming 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 Transformations

Delete Transformations

Use the POST method to delete a transformation in EDS.

POST Request in JSON Format

Generate a POST request. For example, the following POST request deletes a transformation:
POST /api/dataflows/{dataflow-id}/transforms/{transform-entity-id} Content-Type: application/json Accept: application/json x-http-method-override: DELETE

POST Response in JSON Format

The following are sample responses for the 404 Not Found code:
{ "success": false, "errors": [ { "code": DATAFLOW_NOT_FOUND, "parameters": [{dataflow-id}], "errorMessage": "Dataflow with Id: {dataflow-id} not found" } ] }
{ "success": false, "errors": [ { "code": TRANSFORM_ENTITY_NOT_FOUND, "parameters": [{transform-entity-id}], "errorMessage": "Transform Entity with Id: {transform-entity-id} not found" } ] }
The following is a sample response for the 500 Internal Server Error code:
{ "success": false, "errors": [ { "code": INTERNAL_SERVER_ERROR, "parameters": [{error-message}], "errorMessage": "Failed to delete transform. Exception: {error-message}" } ] }

0 COMMENTS

We’d like to hear from you!