Support | Zephyr



How to gather user information via REST API

Created on

Problem: How to gather user information via REST API in Zephyr community/Enterprise Edition.

Fix:

Zephyr 4.7 allows you to get the Zephyr user information by the Rest call. You can use any rest client for the same. Please go through the sample API.

Please note that the user having manager credential can get the other users detail, Other users apart from manager credentials can view only their details.

Example:
API-> http://<Your Zephyr instance url:port number>/flex/services/rest/latest/user/userinfo?username=test.manager

Response Body:
[{
    "id": 1,
    "username": "test.manager",
    "firstName": "Test",
    "lastName": "Manager",
    "email": "test.manager@yourcompany.com",
    "userType": 0
}]


Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request
Powered by Zendesk