This interface defines the structure of the request body used when updating an existing Role.
export interface UpdateRoleRequest {
    name?: string;
    description?: string;
    permissions?: string[];
}

Properties

  • name (string, optional): The updated name of the role.
  • description (string, optional): The updated description of the role.
  • permissions (string[], optional): The updated list of permissions associated with the role.