Zoho: Delete one or more Blueprints
Zoho blueprints.deleteBlueprint: arguments, response, policy and SDK examples.
← Blueprints operations · Get started
Operation zoho.deleteblueprint
Provider route: DELETE /crm/v8/settings/blueprints. 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"]["deleteBlueprint"]>[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.deleteBlueprint(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(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 | array | Required within parent | Maximum items: 100 Minimum items: 1 Unique items: true |
query.ids[] | string | Each item | A unique blueprint ID. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
headers | object | Optional | Additional keys: not allowed |
headers.X-ZOHO-SERVICE | string | Optional | 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 |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | Model | Alternative | Expand Delete one or more Blueprints — response body — blueprints — Delete Blueprint Success Response |
$ (anyOf 2) | Model | Alternative | Expand Delete one or more Blueprints — response body — blueprints — Delete Blueprint Partial Response |
Referenced models: Delete one or more Blueprints — response body — blueprints — Delete Blueprint Partial Response, Delete one or more Blueprints — response body — blueprints — Delete Blueprint Success Response
Schemas
Section titled “Schemas”Delete one or more Blueprints — response body — blueprints — Delete Blueprint Partial Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the response returned when some of the specified blueprints are not deleted. Additional keys: not allowed |
blueprints | array | Optional | Represents the list of blueprints and their deletion status returned in a partial success response. Maximum items: 100 |
blueprints[] | JSON | Each item | |
blueprints[] (anyOf 1) | Model | Alternative | Expand Blueprint — response body — blueprints item |
blueprints[] (anyOf 2) | Model | Alternative | Expand Delete one or more Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, status: error |
blueprints[] (anyOf 3) | Model | Alternative | Expand Delete one or more Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: the id given seems to be invalid, status: error |
blueprints (allOf 1) | JSON | All variants apply | At least one item must be a success result |
Referenced models: Delete one or more Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, status: error, Delete one or more Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: the id given seems to be invalid, status: error, Blueprint — response body — blueprints item
Delete one or more Blueprints — response body — blueprints — Delete Blueprint Success Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the response returned when the specified blueprints are successfully deleted. Additional keys: not allowed |
blueprints | array | Optional | Represents the list of blueprints and their deletion status returned in the success response. Maximum items: 2 |
blueprints[] | Model | Each item | Expand Blueprint — response body — blueprints item |
Referenced models: Blueprint — response body — blueprints item
Delete one or more Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the error returned when invalid module data is provided during a reorder request. Additional keys: not allowed |
code | string | Required within parent | Represents the error code returned by this response. Possible values: INVALID_DATA - Indicates that the request contains invalid or unexpected data. Known values: INVALID_DATA |
details | object | Required within parent | Represents the details object with validation information about the error. Additional keys: not allowed |
details.api_name | string | Required within parent | Represents the API name of the invalid field. Maximum length: 255 |
details.json_path | string | Required within parent | Represents the JSON path of the invalid field. Maximum length: 1000 |
message | string | Required within parent | Represents the error message returned when the specified value is invalid. Maximum length: 255 |
status | string | Required within parent | Represents the status of the response. Possible values: error - Indicates that the request could not be completed due to an error. Known values: error |
Delete one or more Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, message: the id given seems to be invalid, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the error returned when the Blueprint ID provided in a DELETE request is invalid. Additional keys: not allowed |
code | string | Required within parent | Represents the error code returned when the specified Blueprint ID is invalid. Possible values: INVALID_DATA - Indicates that the provided Blueprint ID is invalid. Known values: INVALID_DATA |
details | object | Required within parent | Represents the details object that identifies the invalid Blueprint ID. Additional keys: not allowed |
details.id | string | Required within parent | Represents the invalid Blueprint ID value. Maximum length: 255 |
message | string | Required within parent | Represents the error message returned when the provided Blueprint ID is invalid. Possible values: the id given seems to be invalid - Indicates that the specified Blueprint ID does not exist or is malformed. Known values: the id given seems to be invalid |
status | string | Required within parent | Represents the status of the response. Possible values: error - Indicates that the request could not be completed due to an error. Known values: error |
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.deleteblueprint. Catalog operation: deleteBlueprint. 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.