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

523 B

role-edit

POST /role/customRole/edit

Content-Type: application/json

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

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

POST /role/customRole/edit

Content-Type: application/json

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

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