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

# Update Disabled Functions

> Set the functions disabled for the connection associated with your access token.
Disabled functions stop syncing and are rejected for writes. Pass an empty list
to re-enable everything; re-enabled crawls backfill on the next sync. Pass null to
clear the connection setting so it follows your org's policy instead.



## OpenAPI

````yaml patch /schedules/disabled-functions
openapi: 3.1.0
info:
  description: >

    Trackstar is a Unified API that provides standard endpoints for Supply Chain
    Logistics. We currently offer an API for Warehouse Management Systems (WMS).
  title: Trackstar API
  version: 0.1.0
servers:
  - description: Trackstar API
    url: https://production.trackstarhq.com
security: []
tags: []
externalDocs:
  description: Trackstar API Documentation
  url: https://docs.trackstarhq.com
paths:
  /schedules/disabled-functions:
    patch:
      tags:
        - Schedules
      summary: Update Disabled Functions
      description: >-
        Set the functions disabled for the connection associated with your
        access token.

        Disabled functions stop syncing and are rejected for writes. Pass an
        empty list

        to re-enable everything; re-enabled crawls backfill on the next sync.
        Pass null to

        clear the connection setting so it follows your org's policy instead.
      operationId: patch_update_connection_disabled_functions
      parameters:
        - in: header
          name: x-trackstar-api-key
          description: Your organization-level Trackstar API key.
          schema:
            type: string
            example: <x-trackstar-api-key>
          required: true
        - in: header
          name: x-trackstar-access-token
          description: >-
            Your user's access token for a specific integration (ShipHero,
            Extensiv, etc).
          schema:
            type: string
            example: <x-trackstar-access-token>
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDisabledFunctionsSchema'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateResponseSchema'
          description: Successful response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
          description: Validation error
components:
  schemas:
    UpdateDisabledFunctionsSchema:
      type: object
      properties:
        disabled_functions:
          type:
            - array
            - 'null'
          description: >-
            Function names to disable for this connection (e.g. ['get_orders']).
            This replaces the connection's full disabled set, it is not added to
            it. Pass an empty list to re-enable everything on this connection,
            or null to clear the connection setting and defer to your org's
            policy.
          items:
            type: string
            description: ''
      required:
        - disabled_functions
      additionalProperties: false
      title: UpdateDisabledFunctionsSchema
    UpdateResponseSchema:
      type: object
      properties:
        id:
          type: string
          description: The id of the updated object.
          example: example-id-123
        object:
          type: string
          description: The type of the object that was updated.
          example: connection
        updated:
          type: boolean
          description: Whether or not the object was updated.
          example: true
      required:
        - id
        - object
        - updated
      additionalProperties: false
      title: UpdateResponseSchema
    ValidationError:
      properties:
        error:
          type: string
        detail:
          type: object
          properties:
            <location>:
              type: object
              properties:
                <field_name>:
                  type: array
                  items:
                    type: string
      required:
        - error
      type: object
      title: ValidationError

````