User and Permission
Last updated
Last updated
Retrieves a list of permission modules with pagination and filtering options.
The number of permission modules to retrieve per request
The offset to retrieve the list from
Search keyword to filter the permission modules
Flag to include count in the response
Filter permission modules by status
Bearer token for authentication.
Successfully retrieved the list of permission modules
Retrieves a list of permissions for a specific reference type and ID.
The reference type (e.g., 1 for a specific object)
The reference ID to fetch permissions for
Bearer token for authentication.
Successfully retrieved the permission list
Deletes the role identified by the provided role ID.
ID of the role to delete
Bearer token for authentication.
Successfully deleted the role
Retrieves a list of users based on the provided parameters like limit, offset, and status.
Limit of users per request
10
Offset to start fetching the list
0
Whether to count the total number of users
false
Filter users based on their status
Bearer token for authentication.
Successfully retrieved the user list
Deletes an existing user by user ID.
ID of the user to be deleted
Bearer token for authentication.
Successfully deleted the user
Fetches a list of all roles with optional pagination and filtering.
The number of results to return per page.
10
The number of records to skip before starting to return results.
0
Indicates whether to count the total number of records available.
false
Bearer token for authentication.
Successfully fetched the role list
Creates a new role with a name and status.
Bearer token for authentication.
test
true
Successfully created a new role
Updates the role details (name and status) for a given roleId.
ID of the role to update
Bearer token for authentication.
testtttt
1
30
Role updated successfully
Adds a list of permissions for a specific reference type and ID.
Bearer token for authentication.
1
["list-order"]
30
Successfully updated the permissions
Creates a new user in the system with the provided user details.
Bearer token for authentication.
The user's first name
The user's last name
The user's email address
The ID of the user's group
The user's username
The user's password
Successfully created the user
Updates an existing user in the system with the provided user details.
ID of the user to be updated
Bearer token for authentication.
The user's first name
The user's last name
The user's email address
The ID of the user's group
The user's username
The user's password (hashed)
The ID of the user being updated
Successfully updated the user