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

# Delete Objection

> Soft delete an objection by OId. The objection will be marked as deleted but not permanently removed.



## OpenAPI

````yaml delete /api/v2/objection/delete
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/delete:
    delete:
      tags:
        - Objection
      summary: Delete Objection
      description: >-
        Soft delete an objection by OId. The objection will be marked as deleted
        but not permanently removed.
      operationId: deleteObjection
      parameters:
        - schema:
            type: string
            description: Objection OId
          required: true
          name: oId
          in: query
      responses:
        '200':
          description: Deleted objection data
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  oId:
                    type: string
                    description: Objection OId
                  createdAt:
                    type: string
                    nullable: true
                    description: Creation date
                  updatedAt:
                    type: string
                    nullable: true
                    description: Updated date
                  deletedAt:
                    type: string
                    nullable: true
                    description: Deleted date
                  archivedAt:
                    type: string
                    nullable: true
                    description: Archived date
                  name:
                    type: string
                    description: Objection name
                  internalName:
                    type: string
                    description: Objection internal name
                  description:
                    type: string
                    description: Objection description
                  active:
                    type: boolean
                    default: true
                  data:
                    $ref: '#/components/schemas/ObjectionData'
                  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
                    description: User data
                  workspace:
                    type: object
                    nullable: true
                    properties:
                      oId:
                        type: string
                        nullable: true
                    description: Workspace data
                required:
                  - _metadata
                  - oId
                  - createdAt
                  - name
                  - internalName
                  - description
        '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:
    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
    ObjectionData:
      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
    CustomDataFields:
      type: array
      items:
        $ref: '#/components/schemas/CustomDataFieldItem'
    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

````