Delete a User - Teradata Listener

Teradata® Listener™ User Guide

Product
Teradata Listener
Release Number
2.03
Published
September 2018
Language
English (United States)
Last Update
2018-10-01
dita:mapPath
kum1525897006440.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2910
lifecycle
previous
Product Category
Analytical Ecosystem

Deleting a user removes them from Listener. However, it does not block them from logging in again if they have valid credentials.

Definition

DELETE https://listener-app-services.teradata.com/v1/users/{user_id} HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X PATCH \
  -d '{
    "site_admin": true
  }' \
  -i \
  https://listener-app-services.teradata.com/v1/users/jsmith

Example Response

HTTP/1.1 204 No Content
Content-Type: application/json

Response Codes

Code Description
204 User successfully removed.
401 Authorization header not found.