---
title: "Delete a custom External API."
method: DELETE
path: "/api/v1/projects/{projectId}/actions/external-apis/{integrationId}"
tags: ["Agent Actions"]
---

# Delete a custom External API.

`DELETE /api/v1/projects/{projectId}/actions/external-apis/{integrationId}`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/projects/{projectId}/actions/external-apis/{integrationId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/projects/:projectId/actions/external-apis/:integrationId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `projectId` integer, required
- `integrationId` integer, required

## Response `200`

External API deleted.

- object
  - `status` 'error' | 'success': The status of the response
  - `data` object
    - `deleted` boolean: Confirms the External API was deleted.

## Other responses

- `401`: API Token is either missing or invalid
- `404`: External API not found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/projects/:projectId/actions/external-apis/:integrationId/delete.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
