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

> Soft delete a Persona by OId. The persona will be marked as deleted but not permanently removed.



## OpenAPI

````yaml delete /api/v2/persona/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/persona/delete:
    delete:
      tags:
        - Persona
      summary: Delete Persona
      description: >-
        Soft delete a Persona by OId. The persona will be marked as deleted but
        not permanently removed.
      operationId: deletePersona
      parameters:
        - schema:
            type: string
            description: Persona OId
          required: true
          name: oId
          in: query
      responses:
        '200':
          description: Deleted persona data
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  oId:
                    type: string
                    minLength: 1
                    description: Persona OId
                    example: p_1234
                  name:
                    type: string
                    nullable: true
                    description: Persona name
                    example: VP of Sales
                  internalName:
                    type: string
                    nullable: true
                    description: The internal name of the persona
                    example: Sally the Sales Leader
                  description:
                    type: string
                    nullable: true
                    description: Persona description
                  createdAt:
                    type: string
                    nullable: true
                    description: Creation date
                  deletedAt:
                    type: string
                    nullable: true
                    description: Deleted date
                  archivedAt:
                    type: string
                    nullable: true
                    description: Archived date
                  updatedAt:
                    type: string
                    nullable: true
                    description: Updated date
                  unrecognized:
                    type: boolean
                    nullable: true
                    description: Whether persona is unrecognized
                    example: false
                  rejected:
                    type: boolean
                    nullable: true
                    description: Whether persona is rejected
                    example: false
                  active:
                    type: boolean
                    default: true
                    description: Whether the persona is active and can be used
                    example: true
                  data:
                    $ref: '#/components/schemas/PersonData'
                  qualifyingQuestions:
                    type: array
                    nullable: true
                    items:
                      type: object
                      properties:
                        question:
                          type: string
                          description: The question to ask to qualify the entity
                        rationale:
                          type: string
                          description: >-
                            The rationale for the question as to why it helps
                            qualify
                        fitType:
                          type: string
                          enum:
                            - GOOD
                            - BAD
                          description: The fit type of the question
                          example: GOOD
                        weight:
                          type: string
                          enum:
                            - LOW
                            - MEDIUM
                            - HIGH
                            - INSTANT_QUALIFIER
                            - INSTANT_DISQUALIFIER
                          description: The weight of the question
                          example: MEDIUM
                        archivedAt:
                          type: string
                          nullable: true
                          description: The date and time the question was archived
                      required:
                        - question
                        - rationale
                        - fitType
                        - weight
                  user:
                    type: object
                    properties:
                      oId:
                        type: string
                        nullable: true
                        description: The ID of the user who created the persona
                        example: u_1234
                      firstName:
                        type: string
                        nullable: true
                        description: The first name of the user who created the persona
                        example: John
                      lastName:
                        type: string
                        nullable: true
                        description: The last name of the user who created the persona
                        example: Doe
                    description: User data
                  workspace:
                    type: object
                    properties:
                      oId:
                        type: string
                        nullable: true
                        description: The ID of the workspace that the persona belongs to
                        example: wa_1234
                    description: Workspace data
                required:
                  - _metadata
                  - oId
                  - createdAt
                  - data
                  - user
                  - workspace
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
        '404':
          description: Persona 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
    PersonData:
      type: object
      properties:
        internalName:
          type: string
          nullable: true
          description: The internal name of the persona
        primaryResponsibilities:
          type: array
          items:
            type: string
          default: []
          description: The primary responsibilities of the persona
          example:
            - Responsibility 1
            - Responsibility 2
        painPoints:
          type: array
          items:
            type: string
          default: []
          description: The pain points of the persona
          example:
            - Pain Point 1
            - Pain Point 2
        keyConcerns:
          type: array
          items:
            type: string
          default: []
          description: The key concerns of the persona
          example:
            - Concern 1
            - Concern 2
        keyObjectives:
          type: array
          items:
            type: string
          default: []
          description: The key objectives of the persona
          example:
            - Objective 1
            - Objective 2
        commonJobTitles:
          type: array
          items:
            type: string
          default: []
          description: The common job titles of the persona
          example:
            - Job Title 1
            - Job Title 2
        whyTheyMatterToUs:
          type: array
          items:
            type: string
          default: []
          description: The reasons why the persona matters to us
          example:
            - Reason 1
            - Reason 2
        whyWeMatterToThem:
          type: array
          items:
            type: string
          default: []
          description: The reasons why we matter to this type of persona
          example:
            - Reason 1
            - Reason 2
        buyingRole:
          type: array
          items:
            type: string
          default: []
          description: >-
            The function this persona typically plays in a purchase decision
            (e.g. economic buyer, champion, technical evaluator, end user,
            influencer, blocker), along with their level of sophistication on
            the problem space (newcomer, experienced, expert).
          example:
            - Economic buyer with budget authority over the GTM stack.
            - Experienced operator who has evaluated similar tooling before.
        customFields:
          $ref: '#/components/schemas/CustomDataFields'
    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

````