General Permissions Management

Last Updated on : 2023-06-19 07:06:54

Provide users, roles, and access models to implement effective Role-based access control systems to restricting system access to authorized users.

Manage Role Permissions

API NameURL
Edit Role PermissionsPOST:/v1.0/iot-02/roles/{role_code}/permissions
Check Role PermissionsPOST:/v1.0/iot-02/roles/{role_code}/actions/permission-valid
Query Role Permission SetGET:/v1.0/iot-02/roles-permissions

Manage Permission Users

API NameURL
Query All Permissions of a UserGET:/v1.0/iot-02/users/{uid}/permissions
Verify User PermissionPOST:/v1.0/iot-02/users/{uid}/actions/permission-valid

Manage Role Users

API NameURL
Delete User RoleDELETE:/v1.0/iot-02/users/{uid}/roles
Query All Roles of a UserGET:/v1.0/iot-02/users/{uid}/roles
Add User RolesPOST:/v1.0/iot-02/users/{uid}/roles
Update User RolePUT:/v1.0/iot-02/users/{uid}/roles
Query User IDs with RoleGET:/v1.0/iot-02/{role_code}/uids

Manage Roles

API NameURL
Delete Role InformationDELETE:/v1.0/iot-02/roles/{role_code}
Update Role InformationPUT:/v1.0/iot-02/roles/{role_code}
Query Role Information on PagesGET:/v1.0/iot-02/roles
Query Role InformationGET:/v1.0/iot-02/roles/{role_code}
Add RolePOST:/v1.0/iot-02/roles

Manage Permissions

API NameURL
Create PermissionsPOST:/v1.0/iot-02/permissions
Update PermissionPUT:/v1.0/iot-02/permissions/{permission_code}
Query Multiple PermissionsGET:/v1.0/iot-02/permissions
Delete PermissionDELETE:/v1.0/iot-02/permissions/{permission_code}