---
url: "https://vueda.dev/v3/reference/api/js/utils/objectCrud/functions/defaultObjectExecuteAction.md"
title: "defaultObjectExecuteAction"
---

# defaultObjectExecuteAction

## Overview

The VUEDA specific implementation for reactive-helper's object executeAction crud function. Sends a named action to
the model's detail action url.

## Signature

`defaultObjectExecuteAction(args)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-args">args</span> | `object` | yes | The arguments object. |

#### args Properties

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="param-args-acknowledgeWarnings">acknowledgeWarnings</span> | `string` |  |  | Warning digest from a prior 409, sent as `Acknowledge-Warnings`. |
| <span id="param-args-action">action</span> | `string` |  |  | The action name, used as the url's action segment. |
| <span id="param-args-dryRun">dryRun</span> | `boolean` |  |  | When true, sends the request in dry-run mode. |
| <span id="param-args-formData">formData</span> | `any` |  |  | Form values submitted with the action, sent as the request body. |
| <span id="param-args-pk">pk</span> | `string` |  |  | The primary key of the object to act on. |
| <span id="param-args-requestMethod">requestMethod</span> | `string` |  |  | The HTTP method for the request. Defaults to `"PUT"`. |
| <span id="param-args-target">target</span> | `object` |  |  | VUEDA specific arguments for the CRUD operation. |

### Returns

`CancellablePromise`

- A cancellable promise.

## Source

`client/lib/utils/objectCrud.js:292`
