DocScoDoc/docs/samples/sample_role-edit.json.md
2022-08-26 10:03:21 +02:00

19 lines
299 B
Markdown

### role-edit
#### POST /role/customRole/edit
> `Content-Type: application/json`
>
> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "ScoAbsChange" ] }`
```json
{
"id": 13,
"permissions": [
"ScoView",
"ScoAbsChange"
],
"role_name": "customRole"
}
```