DocAssiduites/docs/samples/sample_role_create.json.md

19 lines
264 B
Markdown
Raw Normal View History

2024-07-27 13:34:32 +02:00
### role_create
2022-08-13 19:29:08 +02:00
#### 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
}
```