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

270 B

role-create

POST /role/create/customRole

Content-Type: application/json

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

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