This interface defines the structure of the request body used when creating a new Role.
export interface CreateRoleRequest {
    name: string;
    description?: string;
    permissions: string[];
}

Properties

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