Get Me
Return the current user's identity and channels.* permission flags.
Requires a valid Bearer token. On success returns::
{
"user": "asif",
"groups": ["Admin"],
"permissions": {
"services.add_service": true,
"services.change_service": true,
"services.delete_service": true
}
}
The front-end can call this once on load and use the permission flags to disable or hide action buttons (stop, start, delete, edit) rather than discovering access denial only after the user clicks.
Response
200Successful Response
Loading schema details…