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

# Mark Dashboards Exportable

> Marks one or more dashboards (global or tenant-scoped) as exportable so they are included in the UCF dashboard export. Requires an Upsolve admin API key.



## OpenAPI

````yaml post /v1/api/ucf/dashboards/set-exportable
openapi: 3.1.0
info:
  title: Upsolve API
  version: 1.4.2
servers:
  - url: https://api.upsolve.ai
security: []
tags: []
paths:
  /v1/api/ucf/dashboards/set-exportable:
    post:
      summary: Mark dashboards as exportable
      description: >-
        Marks one or more dashboards (global or tenant-scoped) as exportable so
        they are included in the UCF dashboard export. Requires an Upsolve admin
        API key.
      operationId: PostV1ApiUcfDashboardsSetExportable
      requestBody:
        description: POST /v1/api/ucf/dashboards/set-exportable Request body
        content:
          application/json:
            schema:
              type: object
              properties:
                apiKey:
                  type: string
                  minLength: 1
                  description: >-
                    Upsolve API key, generated under Account → Developer
                    settings in the Upsolve Hub. Keys are user-scoped: pass
                    organizationId alongside the key to select which org to act
                    on.
                  examples:
                    - up_embed_************
                organizationId:
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
                dashboardIds:
                  minItems: 1
                  type: array
                  items:
                    type: string
                    pattern: >-
                      ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
                  description: IDs of dashboards to mark exportable / non-exportable
                isExportable:
                  type: boolean
                  description: Whether the listed dashboards should be included in exports
              required:
                - dashboardIds
                - isExportable
            examples:
              example1:
                value:
                  apiKey: up_embed_************
        required: true
      responses:
        '200':
          description: POST /v1/api/ucf/dashboards/set-exportable Positive response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  data:
                    type: object
                    properties:
                      updated:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                        description: Number of dashboards whose exportable flag was updated
                    required:
                      - updated
                    additionalProperties: false
                required:
                  - status
                  - data
                additionalProperties: false
        '400':
          description: POST /v1/api/ucf/dashboards/set-exportable Negative response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                    required:
                      - message
                    additionalProperties: false
                required:
                  - status
                  - error
                additionalProperties: false
      security:
        - APIKEY_1: []
components:
  securitySchemes:
    APIKEY_1:
      type: apiKey
      in: query
      name: apiKey
      x-in-actual: body
      description: apiKey MUST be supplied within the request body instead of query

````