DocScoDoc/docs/samples/sample_role-edit.json.md
2022-08-21 12:39:37 +02:00

269 B

role-edit

POST /role/customRole/edit

Content-Type: application/json

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

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