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

# Delete a list

> Deletes the list, everyone or every company on it, and its share link. It can't be undone, so it needs `{"confirm": true}` in the body (or `?confirm=true`, for a client that sends no body with a DELETE); without it the answer is 400 and says what would go. The answer says what was deleted.



## OpenAPI

````yaml /public-api/openapi.json delete /lists/{list}
openapi: 3.1.0
info:
  title: IntroLink API
  version: 1.0.0
  description: >-
    Use your network from your own tools: read it, add people to your lists,
    draft intro asks that wait in your Gmail drafts, follow where each ask
    stands and record what happened, handle the intro requests founders send
    you, choose who is on your roster of connectors and in which group, and
    import people into it. Nothing the API does sends email from your Gmail.


    Authenticate with an API key from IntroLink, under Settings, API:
    `Authorization: Bearer il_live_…`. A key runs as the workspace admin who
    created it, and reads what they see in IntroLink, including their teams and
    circles under the same rules. People they keep private never appear. A
    revoked key stops working at its next request.


    Answers carry names, roles, strength, short evidence strings, opaque person
    ids (`p_…`) and links into IntroLink. Never an email address or a phone
    number.


    Each key may make 60 requests a minute.
servers:
  - url: https://app.introlink.ai/v1
security:
  - apiKey: []
tags:
  - name: People
    description: >-
      Search your network, look up one person and every path to them, and make
      the People page's bulk edits.
  - name: Companies
    description: >-
      Who your side knows at a company and every path into it, the companies you
      watch, and which are your customers.
  - name: Signals
    description: >-
      Job moves, alumni and relationships going quiet, and marking them
      dismissed or seen.
  - name: Lists
    description: >-
      Your lists of people and of companies: make, rename and delete them, and
      add, take off and put back who is on them.
  - name: Asks
    description: >-
      Intro asks drafted into your Gmail drafts and followed after, and the
      intro requests founders send you. Nothing here sends email.
  - name: Connectors
    description: >-
      Your roster of connectors: who is on it, in which group, and who the Add
      connectors picker suggests.
  - name: Targets
    description: >-
      A partner's target firms, ranked by your best warm path to each, and each
      firm's people.
  - name: Reach
    description: >-
      Who and which companies you can reach through one person, and who a
      connector is closest to.
  - name: Usage
    description: >-
      Your plan and what's left this month, the credits your workspace used, and
      what each thing costs.
  - name: Import
    description: >-
      Import people into your network, or a connector's, and see how far an
      import got.
  - name: Webhooks
    description: >-
      Events IntroLink sends to your own address, signed the Standard Webhooks
      way.
paths:
  /lists/{list}:
    delete:
      tags:
        - Lists
      summary: Delete a list
      description: >-
        Deletes the list, everyone or every company on it, and its share link.
        It can't be undone, so it needs `{"confirm": true}` in the body (or
        `?confirm=true`, for a client that sends no body with a DELETE); without
        it the answer is 400 and says what would go. The answer says what was
        deleted.
      operationId: deleteList
      parameters:
        - name: list
          in: path
          required: true
          description: >-
            The list's id (from GET /lists) or its name, URL-encoded. A name two
            of your lists share is refused: use the id.
          schema:
            type: string
            minLength: 1
            maxLength: 200
        - name: confirm
          in: query
          required: false
          schema:
            type: boolean
          description: The same as `confirm` in the body.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                confirm:
                  type: boolean
                  description: true to delete.
            example:
              confirm: true
      responses:
        '200':
          description: What was deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDeletion'
              example:
                object: list_deletion
                deleted: true
                list:
                  id: 5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f
                  name: Seed funds, Q1
                  kind: companies
                  url: >-
                    https://app.introlink.ai/lists/5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f
                  description: null
                  members: 12
                text: >-
                  Deleted "Seed funds, Q1" and its 12 companies. This can't be
                  undone.
        '400':
          description: >-
            The request is missing something or has a bad value. `error.message`
            says what.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: invalid_request
                  message: The body is not valid JSON.
        '401':
          description: >-
            No key, or a key that doesn't work (unknown, revoked, or its creator
            left the workspace).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: invalid_key
                  message: >-
                    That API key is not valid. It may have been revoked: create
                    a new one in IntroLink, under Settings, API.
                  docs: https://docs.introlink.ai/public-api/authentication
        '403':
          description: >-
            The workspace is on the Free trial, which doesn't include the API.
            Individual, Team and Business do.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: plan_required
                  message: >-
                    The API comes with Individual, Team and Business, and this
                    workspace is on the Free trial. Pick a plan under Settings,
                    Billing to use it.
                  docs: https://docs.introlink.ai/public-api/authentication
        '404':
          description: You have no list with that id or name.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: not_found
                  message: You have no list with that id or name.
        '429':
          description: 'Too many requests: more than 60 a minute with one key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: rate_limited
                  message: >-
                    Too many requests with this key. Wait a minute and try
                    again.
          headers:
            Retry-After:
              schema:
                type: integer
              description: Seconds to wait.
        '500':
          description: IntroLink couldn't answer just now. Try again in a minute.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: server_error
                  message: >-
                    IntroLink could not answer that just now. Try again in a
                    minute.
components:
  schemas:
    ListDeletion:
      type: object
      required:
        - object
        - deleted
        - list
        - text
      properties:
        object:
          type: string
          const: list_deletion
        deleted:
          type: boolean
          const: true
        list:
          $ref: '#/components/schemas/ListDetail'
          description: The list as it was, with how many were on it.
        text:
          type: string
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              enum:
                - unauthorized
                - invalid_key
                - plan_required
                - credits_required
                - rate_limited
                - not_found
                - invalid_request
                - method_not_allowed
                - conflict
                - no_path
                - not_saved
                - server_error
            message:
              type: string
              description: What went wrong and what to do, in a sentence.
            docs:
              type: string
              format: uri
              description: >-
                The docs page that explains the error. Sent with `invalid_key`
                and `plan_required`.
    ListDetail:
      type: object
      required:
        - id
        - name
        - description
        - kind
        - members
        - url
      properties:
        id:
          type: string
        name:
          type: string
        description:
          oneOf:
            - type: string
            - type: 'null'
        kind:
          type: string
          enum:
            - people
            - companies
        members:
          type: integer
          description: How many are on it.
        url:
          type: string
          description: The list in IntroLink.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An API key from IntroLink, under Settings, API: `il_live_` and 32
        characters. Only workspace owners and admins make keys. A key reads the
        network as the person who made it.

````

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