Skip to content

Returns the permissions that this user has concerning administration of the members in the region.

GET
/api/region/{regionId}/members/permissions

Authorizations

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

Parameters

Path Parameters

regionId*

ID of the region

Typeinteger
Required

Responses

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

Samples

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