DocScoDoc/docs/samples/sample_role-edit.json.md

18 lines
258 B
Markdown
Raw Normal View History

2022-08-13 19:29:08 +02:00
### role-edit
#### POST /role/customRole/edit
> `Content-Type: application/json`
>
2022-11-02 08:52:44 +01:00
> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView" ] }`
2022-08-13 19:29:08 +02:00
```json
{
"id": 13,
"permissions": [
2022-11-02 08:52:44 +01:00
"ScoView"
],
"role_name": "customRole"
2022-08-13 19:29:08 +02:00
}
```