---
title: "Delete an action button from a CRM field"
method: DELETE
path: "/crm/actions/{actionId}"
tags: ["crm"]
---

# Delete an action button from a CRM field

`DELETE /crm/actions/{actionId}`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/actions/{actionId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Delete an action button from a CRM field.

## Path parameters

- `actionId` string, required

## Request body

- object
  - `objectName` string, required
  - `fieldName` string
  - `fieldId` string
  - `deleteFieldIfEmpty` boolean

## Response `200`

Successful response

- object
  - `ok` boolean, required
  - `remaining` number, required
  - `fieldDeleted` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
