User and Permission
Fetches a list of all roles with optional pagination and filtering.
The number of results to return per page.
10The number of records to skip before starting to return results.
0Indicates whether to count the total number of records available.
falseBearer token for authentication.
Successfully fetched the role list
Successfully fetched the role list
Creates a new role with a name and status.
Bearer token for authentication.
testtrueSuccessfully created a new role
Role already exists
Updates the role details (name and status) for a given roleId.
ID of the role to update
Bearer token for authentication.
testtttt130Role updated successfully
Role updated successfully
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
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
Successfully retrieved the permission list
Adds a list of permissions for a specific reference type and ID.
Bearer token for authentication.
1["list-order"]30Successfully updated the permissions
Successfully updated the permissions
Deletes the role identified by the provided role ID.
ID of the role to delete
Bearer token for authentication.
Successfully deleted the role
Successfully deleted the role
Retrieves a list of users based on the provided parameters like limit, offset, and status.
Limit of users per request
10Offset to start fetching the list
0Whether to count the total number of users
falseFilter users based on their status
Bearer token for authentication.
Successfully retrieved the user list
Successfully retrieved the user list
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
Bad Request - User already exists
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
Bad Request - Invalid user data
Deletes an existing user by user ID.
ID of the user to be deleted
Bearer token for authentication.
Successfully deleted the user
Bad Request - Invalid user ID
Last updated