> ## 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.

# Update a saved risk launcher item.

> Replaces risk-report preferences on a saved item owned by the current caller. Changing the portfolio or report
definition clears the prior report-run linkage, and a supplied cutoff display name must be valid. The
saved-item, report-run, and report-definition identifiers are distinct. Updating preferences does not run or
cancel a report.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json put /api/ReportLauncher/RiskReportLauncherItemEdit
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/RiskReportLauncherItemEdit:
    put:
      tags:
        - ReportLauncher
      summary: Update a saved risk launcher item.
      description: >-
        Replaces risk-report preferences on a saved item owned by the current
        caller. Changing the portfolio or report

        definition clears the prior report-run linkage, and a supplied cutoff
        display name must be valid. The

        saved-item, report-run, and report-definition identifiers are distinct.
        Updating preferences does not run or

        cancel a report.
      operationId: RiskReportLauncherItemEdit
      requestBody:
        description: >-
          The body containing `Item` with the required saved-item `Id`,
          accessible report and portfolio names, optional portfolio type,
          reporting currency and market-data environment names, run date,
          optional portfolio date-time, real-time and run-date flags, optional
          report-run linkage, cutoff display name, and optional position-filter
          identifier or name.
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ApiRiskReportLauncherItemEditRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/ApiRiskReportLauncherItemEditRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ApiRiskReportLauncherItemEditRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ApiRiskReportLauncherItemEditRequest'
      responses:
        '200':
          description: >-
            Returns the update outcome, including missing, inaccessible,
            non-owned, or invalid-cutoff 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:
    ApiRiskReportLauncherItemEditRequest:
      required:
        - $type
      type: object
      additionalProperties: false
      description: Payload for updating a saved risk 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/RiskReportLauncherItem'
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportLauncher.ApiRiskReportLauncherItemEditRequest,
              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: []
    RiskReportLauncherItem:
      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.
        run_date:
          type: string
          description: >-
            Requested or recorded report-run date; where RunDateIsToday is
            present and true, that companion flag takes precedence.
          format: date-time
        portfolio_date_time:
          type: string
          description: >-
            Portfolio snapshot date and time used or recorded for the report; no
            time-zone convention is established here.
          format: date-time
          nullable: true
        report_cutoff:
          type: string
          description: Display name for the selected report cutoff.
          nullable: true
        is_druid_report:
          type: boolean
          description: Whether the launcher item carries the exposed Druid-report marker.
        position_filter_id:
          type: string
          description: Opaque identifier for the saved position filter.
          nullable: true
        position_filter_name:
          type: string
          description: Name of the saved position filter.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportLauncher.RiskReportLauncherItem,
              Derivitec.Web.Core
      additionalProperties: false
      description: Risk-report-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

````