DocScoDoc/docs/samples/sample_role-create.json.md

19 lines
270 B
Markdown
Raw Normal View History

2022-08-13 19:29:08 +02:00
### role-create
#### POST /role/create/customRole
> `Content-Type: application/json`
>
> `{"permissions": ["ScoView", "ScoUsersView"]}`
```json
{
"id": 13,
"permissions": [
"ScoUsersView",
"ScoView"
],
"role_name": "customRole"
2022-08-13 19:29:08 +02:00
}
```