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

# Patch apiv2organizations websites settings



## OpenAPI

````yaml https://api.osiro.com/doc patch /api/v2/organizations/{orgId}/websites/{websiteId}/settings
openapi: 3.0.0
info:
  title: osiro API
  version: 2.0.0
servers: []
security: []
tags:
  - name: Funnel
    description: Public funnel rendering, submission, Lead verification, and analytics.
  - name: Booking
    description: A lead's cancel and reschedule of their booking, via the manage link.
  - name: Training
    description: Org-scoped sales-training catalogs, sessions, and call records.
  - name: Attribution
    description: Cross-domain PostHog identity handoff for the marketing site.
  - name: Billing
    description: Org-scoped checkouts, plans, trials and the Stripe billing portal.
  - name: Leads
    description: Org-scoped lead reads and actions.
  - name: Ad copy
    description: Org-scoped ad guidelines and Meta ad copy generation.
paths:
  /api/v2/organizations/{orgId}/websites/{websiteId}/settings:
    patch:
      tags:
        - Websites
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: orgId
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: websiteId
          in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebsiteSettingsInput'
      responses:
        '200':
          description: >-
            The saved settings. Every published Page renders with them right
            away
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebsiteSettings'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Unprocessable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    UpdateWebsiteSettingsInput:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        favicon_asset_id:
          type: string
          nullable: true
          format: uuid
        imprint_asset_id:
          type: string
          nullable: true
          format: uuid
        privacy_policy_asset_id:
          type: string
          nullable: true
          format: uuid
        legal_contact:
          anyOf:
            - type: string
              format: email
            - type: string
              enum:
                - ''
            - nullable: true
        cookie_banner_enabled:
          type: boolean
        cookie_banner_layout:
          type: string
          enum:
            - box
            - cloud
            - bar
        usercentrics_settings_id:
          type: string
          nullable: true
          maxLength: 64
    WebsiteSettings:
      type: object
      properties:
        name:
          type: string
        favicon:
          type: object
          nullable: true
          properties:
            asset_id:
              type: string
              format: uuid
            url:
              type: string
          required:
            - asset_id
            - url
        imprint_asset_id:
          type: string
          nullable: true
          format: uuid
        privacy_policy_asset_id:
          type: string
          nullable: true
          format: uuid
        legal_contact:
          type: string
          nullable: true
        cookie_banner_enabled:
          type: boolean
        cookie_banner_layout:
          type: string
          enum:
            - box
            - cloud
            - bar
        usercentrics_settings_id:
          type: string
          nullable: true
        legal_documents:
          type: array
          items:
            type: object
            properties:
              asset_id:
                type: string
                format: uuid
              kind:
                type: string
                enum:
                  - IMPRINT
                  - PRIVACY
              name:
                type: string
              external_url:
                type: string
                nullable: true
            required:
              - asset_id
              - kind
              - name
              - external_url
        organization_defaults:
          type: object
          properties:
            IMPRINT:
              type: string
              nullable: true
              format: uuid
            PRIVACY:
              type: string
              nullable: true
              format: uuid
          required:
            - IMPRINT
            - PRIVACY
      required:
        - name
        - favicon
        - imprint_asset_id
        - privacy_policy_asset_id
        - legal_contact
        - cookie_banner_enabled
        - cookie_banner_layout
        - usercentrics_settings_id
        - legal_documents
        - organization_defaults
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error

````

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