MIST-base
GET {{host}}/api/v1/self
Get ‘whoami’ and privileges (which org and which sites I have access to)
#### Response Parameter Parameter|Type|Description :-------------: |:-------------: |:-------------: email|string|email of logged-in user firstname|string|first name of logged-in user lastname|string|last name of logged-in user phone|string|phone number (numbers only, including country code) viasso|boolean|an admin alogin viasso is more restircted. (password and email cannot be changed) privileges|list|list of permission-against-scope scope|string|currently org / site / msp orgid|string|orgid of the org or site orgname|string|name of the org of site mspid|string|id of MSP (if the org belongs to an MSP) mspname|string|name of the MSP (if the org belongs to an MSP) orggroupids|list|list of orggroup ids (if the org belongs to an MSP) name|string|name of org or site role|string|admin / write / read / helpdesk / installer siteid|string|siteid of site sitegroup_ids|list|list of sitegroup ids tags|list|list of strings indicating capabilities. e.g. what to show/hide/disable/enable for this user