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

# Update organization settings



## OpenAPI

````yaml patch /api/v1/organization
openapi: 3.0.0
info:
  version: 1.0.0
  title: Feather AI API
servers:
  - url: https://prod.featherhq.com
    description: Production environment
security: []
paths:
  /api/v1/organization:
    patch:
      tags:
        - Organization
      summary: Update organization settings
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                allowedChatDomains:
                  type: array
                  items:
                    type: string
                    pattern: >-
                      ^(\*\.)?([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z]{2,}$|^localhost$
                  maxItems: 50
                toolFailureSlackWebhookUrl:
                  type: string
                  nullable: true
                  format: uri
                schedulerBatchSize:
                  type: integer
                  minimum: 0
                priorityDateBucketConfig:
                  type: object
                  nullable: true
                  properties:
                    enabled:
                      type: boolean
                      default: true
                    buckets:
                      type: array
                      items:
                        type: object
                        properties:
                          minDays:
                            type: integer
                            minimum: 0
                          maxDays:
                            type: integer
                            minimum: 0
                          percentage:
                            type: number
                            minimum: 0
                            maximum: 100
                        required:
                          - minDays
                          - maxDays
                          - percentage
                      minItems: 1
                      maxItems: 100
                  required:
                    - buckets
      responses:
        '200':
          description: Organization updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  organization:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                        nullable: true
                      allowedChatDomains:
                        type: array
                        items:
                          type: string
                      toolFailureSlackWebhookConfigured:
                        type: boolean
                      toolFailureSlackConnected:
                        type: boolean
                      toolFailureSlackChannelConfigured:
                        type: boolean
                      schedulerBatchSize:
                        type: number
                      maxSchedulerBatchSize:
                        type: number
                      priorityDateBucketConfig:
                        type: object
                        nullable: true
                        properties:
                          enabled:
                            type: boolean
                            default: true
                          buckets:
                            type: array
                            items:
                              type: object
                              properties:
                                minDays:
                                  type: integer
                                  minimum: 0
                                maxDays:
                                  type: integer
                                  minimum: 0
                                percentage:
                                  type: number
                                  minimum: 0
                                  maximum: 100
                              required:
                                - minDays
                                - maxDays
                                - percentage
                            minItems: 1
                            maxItems: 100
                        required:
                          - buckets
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    required:
                      - id
                      - name
                      - allowedChatDomains
                      - toolFailureSlackWebhookConfigured
                      - toolFailureSlackConnected
                      - toolFailureSlackChannelConfigured
                      - schedulerBatchSize
                      - maxSchedulerBatchSize
                      - priorityDateBucketConfig
                      - createdAt
                      - updatedAt
                required:
                  - organization
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    default: 400
                  message:
                    type: string
                    default: Bad request
                  code:
                    type: string
                    enum:
                      - BAD_REQUEST
                    default: BAD_REQUEST
                  success:
                    type: boolean
                    enum:
                      - false
                    default: false
      security:
        - ApiKey: []
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key

````