Returns a list of all groups of the user
Samples
cURL
curl -X GET http://localhost/api/user/current/groups
JavaScript
fetch("http://localhost/api/user/current/groups")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/current/groups");
Python
import requests
response = requests.get("http://localhost/api/user/current/groups")
print(response.json())