cURL
curl --request GET \ --url https://app.mlm-platform.com/api/v1/members/{userId}/upline \ --header 'x-tenant-api-key: <api-key>'
{ "upline": [ "<unknown>" ], "totalLevels": 123 }
Returns the path from a member to the root of the hierarchy.
Tenant API key for authentication
Upline path