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

19 lines
264 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", "UsersView"]}`
2022-08-13 19:29:08 +02:00
```json
{
"id": 13,
"permissions": [
"UsersView",
2022-08-13 19:29:08 +02:00
"ScoView"
],
"role_name": "customRole"
2022-08-13 19:29:08 +02:00
}
```