2022-08-13 19:29:08 +02:00
|
|
|
### role-create
|
|
|
|
|
|
|
|
#### POST /role/create/customRole
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
2023-09-30 10:06:15 +02:00
|
|
|
> `{"permissions": ["ScoView", "UsersView"]}`
|
2022-08-13 19:29:08 +02:00
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"permissions": [
|
2023-09-30 10:06:15 +02:00
|
|
|
"UsersView",
|
2022-08-13 19:29:08 +02:00
|
|
|
"ScoView"
|
2022-08-21 12:13:57 +02:00
|
|
|
],
|
|
|
|
"role_name": "customRole"
|
2022-08-13 19:29:08 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|