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

# Remove an exclusion

> Stop excluding a company

Removes one exclusion, by its [Clustr ID](https://docs.clustr-ai.com/clustr-ids.md) from [List excluded companies](https://docs.clustr-ai.com/api-reference/list-excluded-companies.md).
Everything the exclusion hid was kept, so it is visible again on the next request, and
the next import may enrich the company again.

## Errors

| Status | Code | When |
| - | - | - |
| 400 | `BAD_REQUEST` | The id is not a uuid |
| 404 | `NOT_FOUND` | No exclusion with that id in this workspace |

```bash cURL theme={null}
curl -X DELETE https://api.clustr-ai.com/api/public/excluded-companies/exco_f9nan0w4892z0s7s7kb793038p \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json 200 theme={null}
{
  "success": true,
  "data": { "deleted": true }
}
```


## OpenAPI

````yaml DELETE /excluded-companies/{id}
openapi: 3.1.0
info:
  title: Clustr Public API
  description: >
    Programmatic access to your Clustr network: import connectors, search warm
    intros (opportunities), and manage target accounts.


    ## Authentication

    All endpoints require a Bearer token (API key) in the `Authorization`
    header.


    ```

    Authorization: Bearer <your_api_key>

    ```


    API keys can be created and managed from the [API settings
    page](https://app.clustr-ai.com/api).
  version: '1.0'
  contact:
    name: Clustr Support
    url: https://clustr-ai.com
servers:
  - url: https://api.clustr-ai.com/api/public
    description: Production
security:
  - BearerAuth: []
paths:
  /excluded-companies/{id}:
    delete:
      tags:
        - Excluded Companies
      summary: Remove an exclusion
      description: >
        Stop excluding a company. Everything the exclusion hid was kept, so it
        is

        visible again on the next request.
      operationId: removeExcludedCompany
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: >-
            The exclusion's Clustr ID (`exco_…`), from List excluded companies.
            The id from earlier

            responses also works.
          example: exco_pghv2aba2eep2n3eav0yjrbvmz
      responses:
        '200':
          description: Removed
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      deleted:
                        type: boolean
                        example: true
        '400':
          description: The id is not a uuid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
        '404':
          description: No such exclusion in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            message:
              type: string
              example: Invalid request body
            code:
              type: string
              example: BAD_REQUEST
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: The API key you created on the API settings page of the Clustr app.

````

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