Get list of roles
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Query parameters
-
direction string
Sorting direction
Values are
ASC
orDESC
. Default value isASC
. -
pageNumber integer(int32)
Page Number
Default value is
1
. -
sizePerPage integer(int32)
Size per page
Default value is
60
. -
sortingField string
Field to sort by
GET /api-v1/global/role
curl \
-X GET http://wyzio.app/api-v1/global/role \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"description": "string",
"id": 42,
"isDefault": true,
"name": "string",
"type": "ROLE"
}
]