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

# Delete Inactive Prospects

> Deletes prospects in the given scope that have not posted on LinkedIn in the last 30 days, and always rejects their pending post activities and discards their approvable DM drafts. The prospect lists themselves are kept. Scope: pass `campaignIds`, `listIds`, or both. The response carries no payload — preview the same scope with `count-inactive` to learn how many prospects will be deleted.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json post /client/v2/prospect-list/delete-inactive
openapi: 3.1.0
info:
  title: Extrovert Client API
  description: >-
    Public API for Extrovert platform integration. Use your API key for
    authentication.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.goextrovert.com/
    description: API Server
security: []
tags: []
paths:
  /client/v2/prospect-list/delete-inactive:
    post:
      tags:
        - Prospects
      summary: Delete Inactive Prospects
      description: >-
        Deletes prospects in the given scope that have not posted on LinkedIn in
        the last 30 days, and always rejects their pending post activities and
        discards their approvable DM drafts. The prospect lists themselves are
        kept. Scope: pass `campaignIds`, `listIds`, or both. The response
        carries no payload — preview the same scope with `count-inactive` to
        learn how many prospects will be deleted.
      operationId: ProspectListClientApiController_deleteInactive
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteInactiveRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteInactiveResponseDto'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
        '403':
          description: No scope provided. Pass at least one of `campaignIds` or `listIds`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    DeleteInactiveRequestDto:
      type: object
      properties:
        campaignIds:
          type: array
          description: >-
            Optional campaign IDs. Non-empty restricts this dimension; omitted
            or `[]` does not. Non-empty `campaignIds` and `listIds` intersect.
            Omitting or emptying both targets all reachable Prospects campaigns
            in the selected workspace for an MCP user; an API key must provide
            explicit scope.
          items:
            type: string
            format: uuid
        listIds:
          type: array
          description: >-
            Optional prospect-list IDs. Non-empty restricts this dimension;
            omitted or `[]` does not. Non-empty `listIds` and `campaignIds`
            intersect. Omitting or emptying both targets all reachable Prospects
            campaigns in the selected workspace for an MCP user; an API key must
            provide explicit scope.
          items:
            type: string
            format: uuid
      description: >-
        Inactive means a non-deleted direct LEAD whose newest saved fetched-post
        date is over 30 days old, or with no saved post date after at least one
        successful fetch. Never-successfully-synced prospects are not confirmed
        inactive. Preview and delete must use the same scope; preview is a
        snapshot, not a reservation.
    DeleteInactiveResponseDto:
      type: object
      properties:
        status:
          type: string
          const: success
          description: Response status
        data:
          type: 'null'
          description: No response payload
        message:
          type: string
          description: Success message
          examples:
            - Operation completed successfully
      required:
        - status
        - data
        - message
    ClientApiErrorResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
          enum:
            - error
        data:
          type: object
          description: Response data
          example: null
          nullable: true
        message:
          type: string
          description: Error message
          example: An error occurred while processing the request
      required:
        - status
        - data
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.