Skip to content

Returns a list of all groups of the user

GET
/api/user/current/groups

Authorizations

Responses

Success
JSON
[
null
]

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())