---
title: "Delete a custom API action"
method: DELETE
path: "/credits/custom-endpoints/{providerId}/endpoints/{endpointId}"
tags: ["Custom APIs"]
---

# Delete a custom API action

`DELETE /credits/custom-endpoints/{providerId}/endpoints/{endpointId}`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/custom-endpoints/{providerId}/endpoints/{endpointId}`
- Auth: HTTP bearer

Permanently removes one custom action. Requires the enterprise owner with credentials:manage, catalog:write, and recent step-up.

## Path parameters

- `providerId` string, uuid, required
- `endpointId` string, uuid, required

## Response `204`

Action deleted

## Other responses

- `403`: Feature, enterprise plan, owner, scope, or recent step-up requirement not met
- `404`: Custom provider or action not found in this workspace

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
