Delete a Source - Teradata Listener

Teradata® Listener™ User Guide

Product
Teradata Listener
Release Number
2.04
Published
November 2018
Language
English (United States)
Last Update
2018-12-20
dita:mapPath
qin1538418638881.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2910
lifecycle
previous
Product Category
Analytical Ecosystem

Only an owner or administrator can delete a source.

Definition

DELETE https://listener-app-services.domain.com/v1/sources/{source_id} HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X DELETE \
  -i \
  https://listener-app-services.domain.com/v1/sources/758fbda4-accc-4f90-8f09-cc0a164c8c28

Example Response

HTTP/1.1 204 No Content

Response Codes

Code Description
204 Source successfully deleted.
400 Cannot delete a source associated with a target.
401 Authorization header not found.
404 Resource not found.