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

# Update Objection

> Update an existing objection



## OpenAPI

````yaml post /api/v2/objection/update
openapi: 3.0.0
info:
  version: 1.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/objection/update:
    post:
      tags:
        - Objection
      summary: Update Objection
      description: Update an existing objection
      operationId: updateObjection
      requestBody:
        description: Objection update input
        content:
          application/json:
            schema:
              type: object
              properties:
                oId:
                  type: string
                  minLength: 1
                  description: The ID of the objection to update
                  example: oj_1234
                name:
                  type: string
                  description: The name of the objection
                internalName:
                  type: string
                  description: The internal name of the objection
                description:
                  type: string
                  description: A description of the objection
                underlyingConcern:
                  type: string
                assumptionsAndMisconceptions:
                  type: array
                  items:
                    type: string
                areasToProbeAndClarify:
                  type: array
                  items:
                    type: string
                reframeAndResponse:
                  type: array
                  items:
                    type: string
                customFields:
                  allOf:
                    - $ref: '#/components/schemas/CustomDataFields'
                    - description: Custom fields for additional objection information
              required:
                - oId
      responses:
        '200':
          description: Objection updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      oId:
                        type: string
                      createdAt:
                        type: string
                        nullable: true
                      updatedAt:
                        type: string
                        nullable: true
                      deletedAt:
                        type: string
                        nullable: true
                      archivedAt:
                        type: string
                        nullable: true
                      name:
                        type: string
                      internalName:
                        type: string
                      description:
                        type: string
                      active:
                        type: boolean
                        default: true
                      data:
                        type: object
                        nullable: true
                        properties:
                          underlyingConcern:
                            type: string
                          assumptionsAndMisconceptions:
                            type: array
                            items:
                              type: string
                          areasToProbeAndClarify:
                            type: array
                            items:
                              type: string
                          reframeAndResponse:
                            type: array
                            items:
                              type: string
                          customFields:
                            $ref: '#/components/schemas/CustomDataFields'
                        required:
                          - underlyingConcern
                          - assumptionsAndMisconceptions
                          - areasToProbeAndClarify
                          - reframeAndResponse
                      user:
                        type: object
                        nullable: true
                        properties:
                          oId:
                            type: string
                            nullable: true
                          firstName:
                            type: string
                            nullable: true
                            description: >-
                              The first name of the user who created the
                              objection
                            example: John
                          lastName:
                            type: string
                            nullable: true
                            description: >-
                              The last name of the user who created the
                              objection
                            example: Doe
                      workspace:
                        type: object
                        nullable: true
                        properties:
                          oId:
                            type: string
                            nullable: true
                    required:
                      - oId
                      - createdAt
                      - updatedAt
                      - name
                      - internalName
                      - description
                required:
                  - _metadata
                  - data
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
        '404':
          description: Objection not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
      deprecated: false
components:
  schemas:
    CustomDataFields:
      type: array
      items:
        $ref: '#/components/schemas/CustomDataFieldItem'
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          description: API usage
          example: 0
        requestId:
          type: string
          description: Request ID
          example: requestId
        message:
          type: string
          description: Message
          example: message
        timestamp:
          type: string
          description: Timestamp
          example: '2021-01-01T00:00:00.000Z'
      required:
        - requestId
        - timestamp
    CustomDataFieldItem:
      type: object
      properties:
        title:
          type: string
        value:
          type: array
          items:
            type: string
      required:
        - title
        - value
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````