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

# Update Organization Insurance Details



## OpenAPI

````yaml /api-reference/preview.json patch /organizations/{organization_id}/insurance-details/{insurance_details_id}
openapi: 3.2.0
info:
  title: Intermezzo Global Payroll
  summary: Global Payroll Platform
  description: Intermezzo's global payroll apis, organized by country
  version: '2026-10-07'
  x-logo:
    url: /static/icon.svg
servers:
  - url: https://preview.intermezzo.ai
    description: Preview
security: []
paths:
  /organizations/{organization_id}/insurance-details/{insurance_details_id}:
    patch:
      tags:
        - Core
        - Organizations
        - Insurance Details
      summary: Update Organization Insurance Details
      operationId: >-
        update_organization_insurance_details_organizations__organization_id__insurance_details__insurance_details_id__patch
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            title: Organization Id
        - name: insurance_details_id
          in: path
          required: true
          schema:
            type: integer
            title: Insurance Details Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GBOrganizationInsuranceDetailsUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/GBOrganizationInsuranceDetailsResponse
                discriminator:
                  propertyName: country_code
                  mapping:
                    GB: >-
                      #/components/schemas/GBOrganizationInsuranceDetailsResponse
                title: >-
                  Response Update Organization Insurance Details Organizations 
                  Organization Id  Insurance Details  Insurance Details Id 
                  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerToken: []
components:
  schemas:
    GBOrganizationInsuranceDetailsUpdateRequest:
      properties:
        valid_from:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Valid From
        valid_to:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Valid To
        country_code:
          type: string
          const: GB
          title: Country Code
          default: GB
      additionalProperties: false
      type: object
      title: GBOrganizationInsuranceDetailsUpdateRequest
    GBOrganizationInsuranceDetailsResponse:
      properties:
        valid_from:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Valid From
        valid_to:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Valid To
        country_code:
          type: string
          const: GB
          title: Country Code
          default: GB
        id:
          type: integer
          title: Id
      additionalProperties: false
      type: object
      required:
        - id
      title: GBOrganizationInsuranceDetailsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Get token from Auth0 and paste it here

````

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