Get list of roles

GET /api-v1/role

Headers

Query parameters

Responses

GET /api-v1/role
curl \
 -X GET http://wyzio.app/api-v1/role \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "description": "string",
    "id": 42,
    "isDefault": true,
    "name": "string",
    "realId": 42,
    "roleType": "ORGANIZATION",
    "type": "ROLE"
  }
]