Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
GET
/api-v1/global/role
curl \
--request GET 'https://wyzio.app/api-v1/global/role' \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
[
{
"type": "ROLE",
"name": "string",
"isDefault": true,
"description": "string",
"id": 42
}
]