Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit the user properties returned from a "Get User" API call (v2)

F A April 10, 2019

Using version 2 of the API I am requesting information about a user through the "Get User" functionality of the API.

(https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-user-get)

GET /rest/api/2/user

 

My problem is that this returns a lot of data about the user that I do not need. Is there a way to restrict the response to only a few properties? For example, only the key, displayName, and emailAddress?

0 answers

Suggest an answer

Log in or Sign up to answer