DocScoDoc/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"
}