Get a single user record.
Definition
GET 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 GET \ -i \ https://listener-app-services.teradata.com/v1/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 | User successfully returned. |
401 | Authorization header not found. |