Delete a Target

Teradata® Listener™ User Guide

brand
Analytical Ecosystem
prodname
Teradata Listener
vrm_release
2.05
category
User Guide
featnum
B035-2910-039K

Only an owner or administrator can delete a target.

Definition

DELETE https://CLUSTER.DOMAIN/listener/appservices/targets/{target_id} HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X DELETE \
  -i \
  https://CLUSTER.DOMAIN/listener/appservices/targets/758fbda4-accc-4f90-8f09-cc0a164c8c28

Example Response

HTTP/1.1 204 No Content

Response Codes

Code Description
204 Target successfully deleted.
401 Authorization header not found.
403 Cannot delete a target marked with a production flag.
404 Resource not found.
When you delete a target with the API, Listener does not update the time for updated_at in the response.