forked from ScoDoc/DocScoDoc
18 lines
269 B
Markdown
18 lines
269 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"
|
||
|
]
|
||
|
}
|
||
|
```
|
||
|
|