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

# Update a section's condition settings

> **Permissions:** [Build Access to parent application](https://help.logicgate.com/hc/en-us/articles/4402683190164-Control-Build-Access-for-Applications)

Update the conditional visibility settings for the form section identified by its unique ID.



## OpenAPI

````yaml PATCH /api/v1/internal/form/sections/{sectionId}/conditions
openapi: 3.1.0
info:
  title: Risk Cloud API
  description: >-
    The Risk Cloud API is a collection of RESTful API endpoints that empower you
    and your team to directly integrate, automate, and build with the Risk
    Cloud. Risk Cloud API endpoint payloads are JSON based, with some endpoints
    supporting exports in CSV and XSLX formats for flexible integration.


    This API documentation showcases our Risk Cloud API v1, containing a variety
    of endpoints with continued support for enabling integrations with the Risk
    Cloud.


    Visit the [LogicGate Risk Cloud Developer
    Portal](https://www.logicgate.com/developer/) to get started with building
    your custom integration with quick start guides, usage guides, release
    notes, and more. Or download the [v1 OpenAPI
    specification](/legacy-openapi.json).


    Explore our [Risk Cloud API v2](https://docs.logicgate.com/v2/index.html)
    endpoints and documentation as well. [Risk Cloud API
    v2](https://docs.logicgate.com/v2/index.html) is our collection of API-First
    endpoints that are tailor made for our developer users, offer concise and
    highly documented details, are supported by a [Postman
    collection](https://www.postman.com/logicgate-postman/workspace/logicgate-risk-cloud-api/collection/29257227-de8d264b-6eeb-4177-bea6-2da0a8cabffc)
    and [v2 OpenAPI specification](https://github.com/LogicGateTech/openapi),
    and contain our latest API endpoint releases.
  contact:
    name: developer-relations@logicgate.com
    email: developer-relations@logicgate.com
  version: v2026.11.0
servers:
  - url: https://{subdomain}.logicgate.com
    description: Your Risk Cloud environment.
    variables:
      subdomain:
        description: Your Risk Cloud environment's subdomain (e.g. `qa`).
        default: your-instance
security:
  - ApiToken: []
  - basic: []
tags:
  - name: Authentication
    description: >-
      Getting Started: How to create an [API Access
      Token](https://www.logicgate.com/developer/risk-cloud-api-authentication/)
      to begin integrating with the Risk Cloud API
  - name: Attachment
    description: Endpoints for uploading, downloading, and retrieving record attachments.
  - name: Field
    description: Endpoints for creating, updating, and querying fields.
  - name: Principal
    description: >-
      Endpoints for the authenticated principal to view and manage their own
      details.
  - name: Record Audit
    description: Endpoints for retrieving record audit history and productivity data.
  - name: Step
    description: Endpoints for retrieving steps and the steps a user can access.
  - name: Table Report
    description: Endpoints for retrieving and managing table reports.
  - name: User Group
    description: Endpoints for managing user groups and their membership.
externalDocs:
  description: Developer Portal
  url: https://www.logicgate.com/developer/
paths:
  /api/v1/internal/form/sections/{sectionId}/conditions:
    patch:
      tags:
        - Section
      summary: Update a section's condition settings
      description: >-
        **Permissions:** [Build Access to parent
        application](https://help.logicgate.com/hc/en-us/articles/4402683190164-Control-Build-Access-for-Applications)


        Update the conditional visibility settings for the form section
        identified by its unique ID.
      operationId: updateConditionSettings
      parameters:
        - name: sectionId
          in: path
          description: The unique ID of the form section.
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Section_SectionSummary'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Section_SectionSummary'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppStatusResponse_SectionSummary'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppStatusResponse_SectionSummary'
components:
  schemas:
    Section_SectionSummary:
      type: object
      discriminator:
        propertyName: sectionType
      oneOf:
        - description: Circular reference to FormSection_SectionSummary
        - description: >-
            And other types: Dashboard_SectionSummary,
            DashboardSection_SectionSummary, FieldLink_SectionSummary,
            FormSection_SectionSummary, FormSection_SectionSummary,
            FormSection_SectionSummary, GraphReport_SectionSummary,
            HtmlSection_SectionSummary, VisualReport,
            WorkflowLink_SectionSummary, AnalysisReport_SectionSummary,
            EmbeddedReport_SectionSummary, EvidenceSection_SectionSummary,
            DataWarehouseLink_SectionSummary, ScopingSection_SectionSummary
      properties:
        id:
          type: string
        name:
          type: string
        color:
          type: string
        icon:
          type: string
        guidance:
          type: string
        priority:
          type: integer
          format: int32
        colspan:
          type: integer
          format: int32
        collapsed:
          type: boolean
        defaultState:
          type: string
          enum:
            - HIDDEN
            - INACTIVE
        conditionsEnabled:
          type: boolean
        conditionsUseAndOperator:
          type: boolean
        sectionType:
          type: string
          enum:
            - CONTENT_SECTION
            - DASHBOARD
            - DASHBOARD_SECTION
            - FIELD_LINK
            - FORM_SECTION
            - GRAPH_REPORT
            - HTML_SECTION
            - STEP_PAGE
            - SUB_SECTION
            - VISUAL_REPORT
            - WORKFLOW_LINK
            - JIRA_WORKFLOW_LINK
            - ANALYSIS_REPORT
            - EMBEDDED_REPORT
            - EVIDENCE_SECTION
            - DATA_WAREHOUSE_LINK
            - SCOPING_SECTION
      required:
        - collapsed
        - color
        - colspan
        - conditionsEnabled
        - conditionsUseAndOperator
        - defaultState
        - guidance
        - icon
        - id
        - name
        - priority
    AppStatusResponse_SectionSummary:
      type: object
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
          format: int32
        detail:
          type: string
        instance:
          type: string
          format: uri
        properties:
          type: object
          additionalProperties: {}
  securitySchemes:
    ApiToken:
      type: http
      scheme: bearer
      bearerFormat: API Token
    basic:
      type: http
      scheme: basic

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.