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

299 B

role-edit

POST /role/customRole/edit

Content-Type: application/json

{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "ScoAbsChange" ] }

{
    "id": 13,
    "permissions": [
        "ScoView", 
        "ScoAbsChange"
    ],
    "role_name": "customRole"
}