curl --location --request GET 'https://api-develop.enspace.io/ws/roles/' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>'
{
"id": 0,
"name": "string",
"slug": "string",
"description": "string",
"permissions": [
{
"id": 0,
"entity": "string",
"action": "string",
"rules": {}
}
],
"members_count": 0,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}