cancel
Showing results for 
Search instead for 
Did you mean: 

API V1 and V2 user fetch diff. ?

kumararaja
Novitiate I

In the JumpCloud v1 documentation, https://docs.jumpcloud.com/api/1.0/index.html#tag/Systemusers/operation/systemusers_delete provides an option to fetch user details using this API 

GET https://console.jumpcloud.com/api/systemusers/{UserID}

What is the alternative API call in JumpCloud API v2, and why is the system user API category from the v1 documentation absent in v2?

In the v2 documentation, within the users category, there isn't an endpoint to directly retrieve user details. Could you please assist me with this?

1 REPLY 1

trevorjc
JumpCloud Employee
JumpCloud Employee

hey there,

the api/v2/users endpoints are focused on systemuser (user) associations (user groups, system groups, applications, etc). for this reason, there is not an alternative API endpoint in the v2 API for https://console.jumpcloud.com/api/systemusers/{UserID}.

the v1 systemuser endpoints can be safely used for any actions relating to the users themselves. v2 endpoints can be used for actions relating to user associations