Skip to content

Returns a list of all members for a region.

GET
/api/region/{regionId}/members

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

regionId*

ID of the region or 0 for the root region

Typeinteger
Required

Responses

success
Authorization
api_key
Variables
Key
Value
regionId*
cURL
curl -X GET \
'http://localhost/api/region/{regionId}/members'

Samples

cURL
curl -X GET http://localhost/api/region/{regionId}/members
JavaScript
fetch("http://localhost/api/region/{regionId}/members")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/region/{regionId}/members");
Python
import requests
response = requests.get("http://localhost/api/region/{regionId}/members")
print(response.json())