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

270 B

role-create

POST /role/create/customRole

Content-Type: application/json

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

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