19 lines
270 B
Markdown
19 lines
270 B
Markdown
### role-create
|
|
|
|
#### POST /role/create/customRole
|
|
> `Content-Type: application/json`
|
|
>
|
|
> `{"permissions": ["ScoView", "ScoUsersView"]}`
|
|
|
|
```json
|
|
{
|
|
"id": 13,
|
|
"role_name": "customRole",
|
|
"permissions": [
|
|
"ScoUsersView",
|
|
"ScoView"
|
|
]
|
|
}
|
|
```
|
|
|