DocAssiduites/docs/samples/sample_role_create.json.md

264 B

role_create

POST /role/create/customRole

Content-Type: application/json

{"permissions": ["ScoView", "UsersView"]}

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