Demoting a User from Administrator

Teradata® Listener™ User Guide

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

An administrator can demote another administrator to user.

Definition

PATCH https://CLUSTER.DOMAIN/listener/appservices/users

Example Request

curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer TOKEN" \
-X PATCH \
-d '{
"site_admin": true
}' \
-i \
https://CLUSTER.DOMAIN/listener/appservices/users/jsmith

Example Response

HTTP/1.1 200 OK
Content-Type: application/json
[
{
"display_name": "Smith, John",
"email": "jsmith@example.com",
"id": "jsmith",
"site_admin": true,
"member_of": "CN=ALL EMPLOYEES,OU=Groups,DC=ldap,DC=web,DC=com"
}
]

Response Codes

Code Description
200 Users successfully returned.
401 Authorization header not found.