Skip to main content
Zephyr
Zephyr Enterprise questions

How to gather user information via REST API

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 page helpful?