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

# Delete executives



## OpenAPI

````yaml /openapi.json post /api/v1/watchlists/executive/delete
openapi: 3.0.3
info:
  title: Defendis API
  version: 2.0.0
  description: >
    Defendis API for external customer integrations.


    This API exposes security intelligence and watchlist-driven workflows across
    Dataleaks, Exposure, Ransomware, and Watchlists.

    All versioned customer endpoints are served under `/api/v1`.
servers:
  - url: https://api.defendis.ai
security: []
tags:
  - name: Health
  - name: Dataleaks
  - name: Watchlists
  - name: Assets watchlist
  - name: BINs watchlist
  - name: Domains watchlist
  - name: Executives watchlist
  - name: Keywords watchlist
  - name: Ransom watchlist
  - name: Ransomware
  - name: Exposure
  - name: Surface
paths:
  /api/v1/watchlists/executive/delete:
    post:
      tags:
        - Executives watchlist
      summary: Delete executives
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WatchlistIdsDeleteRequest'
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WatchlistDeleteResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WatchlistIdsDeleteRequest:
      type: object
      properties:
        ids:
          type: array
          items:
            type: integer
      required:
        - ids
      additionalProperties: false
    WatchlistDeleteResponse:
      type: object
      properties:
        success:
          type: boolean
        count:
          type: integer
        error:
          type: string
      required:
        - success
        - count
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: APIKey
      description: 'Required for all /api/v1 endpoints. Use Authorization: Bearer <api_key>'

````