2022-08-13 19:29:08 +02:00
|
|
|
### role-edit
|
|
|
|
|
|
|
|
#### POST /role/customRole/edit
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
2022-08-26 10:03:21 +02:00
|
|
|
> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "ScoAbsChange" ] }`
|
2022-08-13 19:29:08 +02:00
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"permissions": [
|
2022-08-26 10:03:21 +02:00
|
|
|
"ScoView",
|
|
|
|
"ScoAbsChange"
|
2022-08-21 12:13:57 +02:00
|
|
|
],
|
|
|
|
"role_name": "customRole"
|
2022-08-13 19:29:08 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|