Zoho: Blueprint
Zoho blueprints.deleteBlueprintWithId: arguments, response, policy and SDK examples.
← Blueprints operations · Get started
Operation zoho.deleteblueprintwithid
Provider route: DELETE /crm/v8/settings/blueprints/{blueprintId}. 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["blueprints"]["deleteBlueprintWithId"]>[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.blueprints.deleteBlueprintWithId(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.blueprints.delete_blueprint_with_id(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.blueprintId | string | Required within parent | Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+ |
headers | object | Required within parent | Additional keys: not allowed |
headers.X-ZOHO-SERVICE | string | Required within parent | One of: automation |
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 |
|---|---|---|---|
$ | Model | Root | Expand Blueprint — response body |
Referenced models: Blueprint — response body
Schemas
Section titled “Schemas”Blueprint — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the response returned when the Blueprint is successfully deleted. Additional keys: not allowed |
blueprints | array | Optional | Represents the list containing the deletion status of the specified Blueprint. Maximum items: 1 |
blueprints[] | Model | Each item | Expand Blueprint — response body — blueprints item |
Referenced models: Blueprint — response body — blueprints item
Blueprint — response body — blueprints item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an individual Blueprint's deletion status. Additional keys: not allowed |
code | string | Required within parent | Represents the status code indicating the outcome of the Blueprint deletion. Possible values: SUCCESS - Indicates that the Blueprint deletion completed successfully. Known values: SUCCESS |
details | Model | Required within parent | Expand Blueprint — response body — blueprints item details |
message | string | Required within parent | Represents the message describing the outcome of the Blueprint deletion. Maximum length: 255 |
status | string | Required within parent | Represents the status of the Blueprint deletion operation. Maximum length: 255 |
Referenced models: Blueprint — response body — blueprints item details
Blueprint — response body — blueprints item details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the details of the object referenced by the transition action, such as a tag, record, or webhook, depending on the configured action type. Additional keys: allowed |
id | string | Optional | Represents the unique ID of the object referenced by this action, such as a tag, record, or webhook, depending on the configured action type. Maximum length: 255 |
name | JSON | Optional | |
name (anyOf 1) | string | Alternative | Represents the name of the object referenced by this action, such as a tag or webhook, depending on the configured action type. Maximum length: 50 |
name (anyOf 2) | null | Alternative | Represents the name of the object referenced by this action, such as a tag or webhook, depending on the configured action type. Maximum length: 50 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.deleteblueprintwithid. Catalog operation: deleteBlueprintWithId. 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.