> ## 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 seo



## OpenAPI

````yaml https://api.osiro.com/doc patch /api/v2/organizations/{orgId}/websites/{websiteId}/seo
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}/seo:
    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/UpdateWebsiteSeoInput'
      responses:
        '200':
          description: The Website's search settings after the change
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebsiteSeo'
        '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'
        '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:
    UpdateWebsiteSeoInput:
      type: object
      properties:
        site_name:
          type: string
          nullable: true
          maxLength: 120
        default_og_image:
          type: string
          nullable: true
          format: uuid
    WebsiteSeo:
      type: object
      properties:
        site_name:
          type: string
          nullable: true
        default_og_image:
          type: string
          nullable: true
          format: uuid
        pages:
          type: array
          items:
            type: object
            properties:
              landing_page_id:
                type: string
                format: uuid
              name:
                type: string
              path:
                type: string
              title:
                type: string
              meta_description:
                type: string
                nullable: true
              page_indexed:
                type: boolean
              og_image:
                type: string
                nullable: true
                format: uuid
              og_image_alt:
                type: string
                nullable: true
              site_name_suffix:
                type: boolean
              url:
                type: string
              variables:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    default_value:
                      type: string
                  required:
                    - name
                    - default_value
              broken_page_links:
                type: integer
                minimum: 0
              dataset:
                type: object
                nullable: true
                properties:
                  id:
                    type: string
                    format: uuid
                  key:
                    type: string
                  fields:
                    type: array
                    items:
                      type: string
                  content_fields:
                    type: array
                    items:
                      type: string
                  shadowed_rows:
                    type: integer
                    minimum: 0
                required:
                  - id
                  - key
                  - fields
                  - content_fields
                  - shadowed_rows
            required:
              - landing_page_id
              - name
              - path
              - title
              - meta_description
              - page_indexed
              - og_image
              - og_image_alt
              - site_name_suffix
              - url
              - variables
              - broken_page_links
              - dataset
      required:
        - site_name
        - default_og_image
        - pages
    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.