Skip to content

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.

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 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_with_id(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.blueprintIdstringRequired within parentFormat: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+
headersobjectRequired within parentAdditional keys: not allowed
headers.X-ZOHO-SERVICEstringRequired within parentOne of: automation

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

FieldTypePresenceDescription and constraints
$ModelRootExpand Blueprint — response body

Referenced models: Blueprint — response body

Blueprint — response body
FieldTypePresenceDescription and constraints
$objectRootRepresents the response returned when the Blueprint is successfully deleted.
Additional keys: not allowed
blueprintsarrayOptionalRepresents the list containing the deletion status of the specified Blueprint.
Maximum items: 1
blueprints[]ModelEach itemExpand Blueprint — response body — blueprints item

Referenced models: Blueprint — response body — blueprints item

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.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.

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.