> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a saved PnL launcher item.

> Deletes a saved PnL launcher item owned by the current caller within its effective report and portfolio scope.
This removes only saved preferences; it does not cancel a running report or delete historical report output.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json delete /api/ReportLauncher/PnlReportLauncherItemDelete
openapi: 3.0.4
info:
  title: Derivitec Api 1.0
  version: '1.0'
servers:
  - url: https://api.riskportal.activeviam.com
security:
  - oauth2: []
  - apikey: []
tags:
  - name: AdminUser
  - name: AtotiReport
  - name: AtotiSession
  - name: BloombergOAuth
  - name: Bond
  - name: BondYieldCurvePage
  - name: BookAccess
  - name: Books
  - name: Commodity
  - name: Counterparties
  - name: Currencies
  - name: Equity
  - name: EquityDividend
  - name: EquityPage
  - name: FeatureFlag
  - name: Fx
  - name: FxPage
  - name: GroupAccess
  - name: Home
  - name: LegacyPosition
  - name: MarketData
  - name: MarketDataProvider
  - name: MarketDataProviderAccess
  - name: Meta
  - name: Notification
  - name: Organisation
  - name: PnLReport
  - name: PortfolioAccess
  - name: Portfolios
  - name: Position
  - name: PositionFilter
  - name: PricingEnvironment
  - name: PricingEnvironmentAccess
  - name: RateAsset
  - name: RateAssetPage
  - name: Report
  - name: ReportDefinition
  - name: ReportHistoryLauncherQuery
  - name: ReportLauncher
  - name: ReportQuery
  - name: ReportQueryViewUser
  - name: ReportRestriction
  - name: ReportView
  - name: RiskReport
  - name: Tradable
  - name: TradeBooking
  - name: User
  - name: VarReport
  - name: VarReportQuery
  - name: YieldCurvePage
paths:
  /api/ReportLauncher/PnlReportLauncherItemDelete:
    delete:
      tags:
        - ReportLauncher
      summary: Delete a saved PnL launcher item.
      description: >-
        Deletes a saved PnL launcher item owned by the current caller within its
        effective report and portfolio scope.

        This removes only saved preferences; it does not cancel a running report
        or delete historical report output.
      operationId: PnlReportLauncherItemDelete
      requestBody:
        description: >-
          The body containing `Item.Id` in the saved launcher-item identifier
          namespace together with the item's accessible `ReportName`,
          `PortfolioName`, and optional `PortfolioType`. Caller, organisation,
          and internal identifiers are server-managed.
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ApiPnlReportLauncherItemDeleteRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/ApiPnlReportLauncherItemDeleteRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ApiPnlReportLauncherItemDeleteRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ApiPnlReportLauncherItemDeleteRequest'
      responses:
        '200':
          description: >-
            Returns the deletion outcome, including missing, inaccessible, or
            non-owned item failures in the response envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiBaseResponseEnvelope'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - oauth2: []
        - apikey: []
components:
  schemas:
    ApiPnlReportLauncherItemDeleteRequest:
      required:
        - $type
      type: object
      additionalProperties: false
      description: Payload for deleting a saved P&L report launcher item.
      properties:
        report_name:
          type: string
          description: >-
            Organisation-scoped name of the report definition to use. The value
            must not be null or empty.
          nullable: true
          example: Daily risk overview
        reporting_currency:
          type: string
          description: >-
            Currency in which report values are expressed. When null, the
            service uses the caller's configured reporting currency or USD.
          nullable: true
          example: USD
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments to use for the report. The list is
            empty by default.
          nullable: true
        portfolio_name:
          type: string
          description: >-
            Name of the portfolio to select. The value must not be null or
            empty.
          nullable: true
          example: Example portfolio
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category used to resolve the requested portfolio. It may
            be omitted when the portfolio name resolves unambiguously.
          nullable: true
        item:
          $ref: '#/components/schemas/PnlReportLauncherItem'
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportLauncher.ApiPnlReportLauncherItemDeleteRequest,
              Derivitec.Web.Core
    ApiBaseResponseEnvelope:
      required:
        - $type
      type: object
      properties:
        is_success:
          type: boolean
          description: >-
            Whether the operation completed successfully. The default is `true`;
            error outcomes set it to `false`.
          example: true
        error_messages:
          type: array
          items:
            type: string
          description: >-
            Messages explaining operation-level failures. The collection is
            empty by default.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.ApiBaseResponse, Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Common operation outcome containing a success indicator and any error
        messages.
      example:
        $type: Derivitec.Web.Core.ApiBaseResponse, Derivitec.Web.Core
        is_success: true
        error_messages: []
    PnlReportLauncherItem:
      required:
        - $type
      type: object
      properties:
        id:
          type: string
          description: Opaque identifier of the saved report-launcher item.
          format: uuid
        portfolio_name:
          type: string
          description: >-
            Portfolio name associated with the report run or saved launcher
            item.
          nullable: true
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category recorded for the report run or saved launcher
            item.
        report_name:
          type: string
          description: >-
            Name of the report definition associated with the run, schedule,
            restriction, or launcher item.
          nullable: true
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments associated with the report run or
            saved launcher item.
          nullable: true
        real_time_mkt_data:
          type: boolean
          description: >-
            Whether the launcher item uses the exposed real-time market-data
            selection.
        report_id:
          type: string
          description: Opaque identifier of the latest matching report run, when available.
          nullable: true
        reporting_currency:
          type: string
          description: >-
            Currency used to express monetary report values; the code format is
            not constrained here.
          nullable: true
        report_status:
          enum:
            - none
            - succeeded
            - failed
            - running
            - warning
          type: string
          description: Current report status recorded for the launcher item.
        report_status_message:
          type: string
          description: Human-readable message associated with the recorded report status.
          nullable: true
        time_stamp:
          type: string
          description: >-
            Timestamp recorded for the latest matching report run, when
            available; no time-zone convention is established by this contract.
          format: date-time
          nullable: true
        run_date_is_today:
          type: boolean
          description: >-
            Whether the current day is selected instead of the supplied run
            date.
        initial_date:
          type: string
          description: Optional initial date of the P&L report period.
          format: date-time
          nullable: true
        final_date:
          type: string
          description: Final date of the P&L report period.
          format: date-time
        lookback_period:
          enum:
            - daily
            - month_to_date
            - quarter_to_date
            - year_to_date
            - annual
          type: string
          description: Optional predefined P&L lookback selection.
          nullable: true
        is_druid_report:
          type: boolean
          description: Whether the launcher item carries the exposed Druid-report marker.
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportLauncher.PnlReportLauncherItem,
              Derivitec.Web.Core
      additionalProperties: false
      description: P&L-specific saved report-launcher item.
  securitySchemes:
    oauth2:
      type: oauth2
      description: >-
        OAuth2 access-token requested from AWS Cognito and provided as a Auth
        Bearer header
      flows:
        implicit:
          authorizationUrl: https://auth.riskportal.derivitec.com/oauth2/authorize
          scopes: {}
    apikey:
      type: apiKey
      description: API-Key requested via the site and provided as a header
      name: x-api-key
      in: header

````