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

# Patch workspace integration settings

> Partially update integration settings. `response_data_access: "production"` is not available yet and returns `response_data_access_unavailable`.



## OpenAPI

````yaml /openapi/program.openapi.json patch /settings/integrations
openapi: 3.1.0
info:
  title: Questra Program API
  version: 0.0.1
  description: >-
    REST API for the Questra Program product. Browser users authenticate through
    Questra Auth SSO; automation uses workspace-scoped API keys (`Authorization:
    Bearer qpk_live_…`). API keys carry scopes enforced before handlers.
    Outbound webhooks follow Standard Webhooks (at-least-once delivery;
    consumers must be idempotent).
servers:
  - url: /v1
    description: Program API base path
security: []
paths:
  /settings/integrations:
    patch:
      tags:
        - Settings
      summary: Patch workspace integration settings
      description: >-
        Partially update integration settings. `response_data_access:
        "production"` is not available yet and returns
        `response_data_access_unavailable`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchIntegrationSettingsRequest'
      responses:
        '200':
          description: Updated settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationSettingsResponse'
        '400':
          description: Validation error or unsupported access level
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    PatchIntegrationSettingsRequest:
      type: object
      properties:
        response_data_access:
          $ref: '#/components/schemas/ResponseDataAccess'
    IntegrationSettingsResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/IntegrationSettings'
      required:
        - data
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        resource:
          type: string
        slug:
          type: string
        file_id:
          type: string
        endpoint_id:
          type: string
        event_id:
          type: string
        delivery_id:
          type: string
        api_key_id:
          type: string
        integration_id:
          type: string
        audit_id:
          type: string
        status:
          type: string
        details: {}
        question_ids:
          type: array
          items:
            type: string
        survey_ids:
          type: array
          items:
            type: string
        revisions:
          type: array
          items:
            type: number
      required:
        - error
    ResponseDataAccess:
      type: string
      enum:
        - none
        - test
        - production
      description: >-
        Which upstream response modes this workspace may query. `production`
        includes test. Default is `test`.
      example: test
    IntegrationSettings:
      type: object
      properties:
        response_data_access:
          $ref: '#/components/schemas/ResponseDataAccess'
        updated_at:
          type: string
          format: date-time
      required:
        - response_data_access
        - updated_at

````