Zoho: To delete multiple field update actions
Zoho fieldUpdates.deleteFieldUpdates: arguments, response, policy and SDK examples.
← Field updates operations · Get started
Operation zoho.deletefieldupdates
Provider route: DELETE /crm/v8/settings/automation/field_updates. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["fieldUpdates"]["deleteFieldUpdates"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.fieldUpdates.deleteFieldUpdates(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_zoho import ZohoIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.field_updates.delete_field_updates(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
query | object | Required within parent | Additional keys: not allowed |
query.ids | string | Required within parent | Comma-separated field update IDs to delete (e.g., ‘111111000000050001,111111000000050002’). Maximum 10 IDs per request. Maximum length: 10000 |
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | Model | Alternative | Expand To delete multiple field update actions — response body — field updates — Bulk Delete Success Response |
$ (anyOf 2) | Model | Alternative | Expand To delete multiple field update actions — response body — field updates — Bulk Delete Mixed Response |
Referenced models: To delete multiple field update actions — response body — field updates — Bulk Delete Mixed Response, To delete multiple field update actions — response body — field updates — Bulk Delete Success Response
Schemas
Section titled “Schemas”To delete multiple field update actions — response body — field updates — Bulk Delete Mixed Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Bulk delete partial-success response. Contains mixed success and failure items for the requested field update IDs. Additional keys: not allowed |
field_updates | array | Required within parent | Per-ID deletion results for the bulk request. Maximum items: 10 |
field_updates[] | JSON | Each item | |
field_updates[] (anyOf 1) | Model | Alternative | Expand To delete multiple field update actions — response body — field updates field updates item |
field_updates[] (anyOf 2) | Model | Alternative | Expand To delete multiple field update actions — response body — field_updates / field_updates / item / code: INVALID DATA, NOT ALLOWED, status: error |
Referenced models: To delete multiple field update actions — response body — field_updates / field_updates / item / code: INVALID DATA, NOT ALLOWED, status: error, To delete multiple field update actions — response body — field updates field updates item
To delete multiple field update actions — response body — field updates — Bulk Delete Success Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Bulk delete success response where all requested field update IDs are deleted. Additional keys: not allowed |
field_updates | array | Required within parent | Deletion result entries for each requested ID. Maximum items: 10 |
field_updates[] | Model | Each item | Expand To delete multiple field update actions — response body — field updates field updates item |
Referenced models: To delete multiple field update actions — response body — field updates field updates item
To delete multiple field update actions — response body — field_updates / field_updates / item / code: INVALID DATA, NOT ALLOWED, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Result item for a field update ID that failed during bulk delete. INVALID_DATA indicates the ID does not exist; NOT_ALLOWED indicates the field update is associated with a workflow rule, blueprint, or approval process. Additional keys: not allowed |
code | string | Required within parent | Failure code. Known values: INVALID_DATA, NOT_ALLOWED |
details | Model | Required within parent | Expand To delete multiple field update actions — response body — field updates field updates item details |
message | string | Required within parent | Failure message. Maximum length: 255 |
status | string | Required within parent | Operation status. Known values: error |
Referenced models: To delete multiple field update actions — response body — field updates field updates item details
To delete multiple field update actions — response body — field updates field updates item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Result item for a field update ID deleted successfully in bulk delete. Additional keys: not allowed |
code | string | Required within parent | Result code. Known values: SUCCESS |
details | Model | Required within parent | Expand To delete multiple field update actions — response body — field updates field updates item details |
message | string | Required within parent | Success message. Maximum length: 255 |
status | string | Required within parent | Operation status. Known values: success |
Referenced models: To delete multiple field update actions — response body — field updates field updates item details
To delete multiple field update actions — response body — field updates field updates item details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Identifier details for a bulk-delete result item. Additional keys: not allowed |
id | string | Required within parent | Field update ID for which this result applies. Maximum length: 20 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.deletefieldupdates. Catalog operation: deleteFieldUpdates. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.