A user is a generic object, which can be used to represent any user across the platform including employees, consumers and developers. In each case a user can be attached to relevant objects via dedicated sub-user objects.
The endpoint you need to use for this is:
|Get user details.
|Create or update user.