Skip to content

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.

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 os
from alter_sdk import App
from 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()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.idsarrayRequired within parentMaximum items: 100
Minimum items: 1
Unique items: true
query.ids[]stringEach itemA unique blueprint ID.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
headersobjectOptionalAdditional keys: not allowed
headers.X-ZOHO-SERVICEstringOptionalOne of: automation

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Delete one or more Blueprints — response body — blueprints — Delete Blueprint Success Response
$ (anyOf 2)ModelAlternativeExpand 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

Delete one or more Blueprints — response body — blueprints — Delete Blueprint Partial Response
FieldTypePresenceDescription and constraints
$objectRootRepresents the response returned when some of the specified blueprints are not deleted.
Additional keys: not allowed
blueprintsarrayOptionalRepresents the list of blueprints and their deletion status returned in a partial success response.
Maximum items: 100
blueprints[]JSONEach item
blueprints[] (anyOf 1)ModelAlternativeExpand Blueprint — response body — blueprints item
blueprints[] (anyOf 2)ModelAlternativeExpand Delete one or more Blueprints — response body — blueprints / blueprints / item / code: INVALID DATA, status: error
blueprints[] (anyOf 3)ModelAlternativeExpand 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)JSONAll variants applyAt 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
FieldTypePresenceDescription and constraints
$objectRootRepresents the response returned when the specified blueprints are successfully deleted.
Additional keys: not allowed
blueprintsarrayOptionalRepresents the list of blueprints and their deletion status returned in the success response.
Maximum items: 2
blueprints[]ModelEach itemExpand 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
FieldTypePresenceDescription and constraints
$objectRootRepresents the error returned when invalid module data is provided during a reorder request.
Additional keys: not allowed
codestringRequired within parentRepresents the error code returned by this response.

Possible values:
INVALID_DATA - Indicates that the request contains invalid or unexpected data.
Known values: INVALID_DATA
detailsobjectRequired within parentRepresents the details object with validation information about the error.
Additional keys: not allowed
details.api_namestringRequired within parentRepresents the API name of the invalid field.
Maximum length: 255
details.json_pathstringRequired within parentRepresents the JSON path of the invalid field.
Maximum length: 1000
messagestringRequired within parentRepresents the error message returned when the specified value is invalid.
Maximum length: 255
statusstringRequired within parentRepresents 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
FieldTypePresenceDescription and constraints
$objectRootRepresents the error returned when the Blueprint ID provided in a DELETE request is invalid.
Additional keys: not allowed
codestringRequired within parentRepresents 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
detailsobjectRequired within parentRepresents the details object that identifies the invalid Blueprint ID.
Additional keys: not allowed
details.idstringRequired within parentRepresents the invalid Blueprint ID value.
Maximum length: 255
messagestringRequired within parentRepresents 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
statusstringRequired within parentRepresents 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
FieldTypePresenceDescription and constraints
$objectRootRepresents an individual Blueprint's deletion status.
Additional keys: not allowed
codestringRequired within parentRepresents the status code indicating the outcome of the Blueprint deletion.

Possible values:
SUCCESS - Indicates that the Blueprint deletion completed successfully.
Known values: SUCCESS
detailsModelRequired within parentExpand Blueprint — response body — blueprints item details
messagestringRequired within parentRepresents the message describing the outcome of the Blueprint deletion.
Maximum length: 255
statusstringRequired within parentRepresents the status of the Blueprint deletion operation.
Maximum length: 255

Referenced models: Blueprint — response body — blueprints item details

Blueprint — response body — blueprints item details
FieldTypePresenceDescription and constraints
$objectRootRepresents 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
idstringOptionalRepresents 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
nameJSONOptional
name (anyOf 1)stringAlternativeRepresents 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)nullAlternativeRepresents the name of the object referenced by this action, such as a tag or webhook, depending on the configured action type.
Maximum length: 50

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.

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.