DocAssiduites/docs/samples/sample_role-edit.json.md
2022-08-14 10:04:11 +02:00

33 lines
523 B
Markdown

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