How to add a user to a role
To add a user to a role you can go through that diagram. In this diagram you can see the endpoints that are described in the previous sections.

№
Endpoint
Parameters
Responce/result
1
no parameters
a list of available roles with appropriate permissions, where you should choose a suitable role, if you need another role go to step 5
2
no parameters
a list of employees, you should copy {guid}
of the employee that you want to add to role, if you need another employee go to step 4
6
no parameters
a list of availible permissions, you should find permission that you need with "keto_kind": "endpoint"
, copy
{guid}
of that permission.
7
{permission_guid}
from step 6{role_name}
from step 1
a new permission added to role
Last updated