Planon IoT : Axonize (stand-alone) : Roles Endpoints
Roles Endpoints
Roles endpoints define which components/modules from the user interface or API a user can access. Roles are organized hierarchically, and contain the following entity levels:
Role – A container holding one or more Tasks (described below) that can be assigned to a User in order to allow that user to use them.
Task – A group/package of Endpoints in the user interface or API that a user can access. Tasks are organized hierarchically. For example, the Device/Read task refers to all Endpoints for device read Endpoints (commands). Tasks are automatically defined by IoT Platform , and cannot be added by the user.
Endpoint – The names of the authorizations that are available in the system.
IoT Platform provides a variety of endpoints for handling Roles, as follows:
Roles/Post
Roles/Get (List)
Roles/Get (Specific)
Roles/Delete
Roles/Patch
Roles/Get/[roleId]/Tasks
Roles/Get/[roleId]/Endpoints
Roles/Post/[roleId]/addTask
Roles/Post/[roleId]/putTask
Roles/Post/[roleId]/removeTask