Get a user (v2)
GET/tap/api/v2/users/:userId
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Deprecated; use GET /tap/api/v3/users/{userId}. Returns a user by numeric ID. Allowed for an admin or the user themselves. Differs from v3 only in awsRoles, which lists AWS role objects instead of AWS role ids. bundlePath is the stored location of the certificate bundle, not a download link; use GET /tap/api/v3/users/{userId}/generateBundleUrl.
Request
Responses
- 200
- 400
- 403
- 404
The requested user.
The caller has the admin role and the identifier is not a number.
The caller is neither an admin nor the user, or the user is a super_admin and the caller is not.
No user exists with the given identifier, or the identifier belongs to a server.