curl --location --request POST 'https://api-develop.enspace.io/ws/roles' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"name": "string",
"slug": "string",
"description": "string",
"permissions": [
{
"entity": "string",
"action": "string",
"rules": {}
}
]
}
]'
{
"name": "string",
"slug": "string",
"description": "string"
}