Skip to content

Zoho: Remove Tags from a Record

Zoho tagsActions.postRemoveTagsWithId: arguments, response, policy and SDK examples.

← Tags actions operations · Get started

Operation zoho.postremovetagswithid

Provider route: POST /crm/v8/{module}/{id}/actions/remove_tags. 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["tagsActions"]["postRemoveTagsWithId"]>[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.tagsActions.postRemoveTagsWithId(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.tags_actions.post_remove_tags_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.modulestringRequired within parentMaximum length: 100
path.idstringRequired within parentMaximum length: 19
bodyModelOptionalExpand Remove Tags from Records — request body — body

Referenced models: Remove Tags from Records — request body — body

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

FieldTypePresenceDescription and constraints
$ModelRootExpand Remove Tags from Records — response body

Referenced models: Remove Tags from Records — response body

Remove Tags from Records — response body
FieldTypePresenceDescription and constraints
$objectRootSuccess response when tags are removed from records successfully.
Additional keys: not allowed
dataarrayOptionalArray of operation results for each record
Maximum items: 20
data[]ModelEach itemExpand Add Tags to Records — response body — data item
locked_countstringOptionalNumber of records that were locked and could not be updated
Maximum length: 255

Referenced models: Add Tags to Records — response body — data item

Remove Tags from Records — request body — body
FieldTypePresenceDescription and constraints
$objectRootRequest body schema for removing tags from records.
Additional keys: not allowed
idsstring or nullOptionalJSON array string of record IDs to remove tags from. Use the [Get Records API](record.yaml#$.paths./module.get) to retrieve record IDs.

One of: ["3060320000002496003"]
Maximum length: 99
tagsarrayRequired within parentArray of tags to remove from the records (Required)
Maximum items: 1
tags[]ModelEach itemExpand Merge Tags — request body — body tags item

Referenced models: Merge Tags — request body — body tags item

Add Tags to Records — response body — data item
FieldTypePresenceDescription and constraints
$objectRootNested schema for data in operation responses.
Additional keys: not allowed
codestringOptionalStatus code of the operation
Maximum length: 255
detailsModelOptionalExpand Add Tags to Records — response body — data item details
messagestringOptionalHuman-readable message about the operation result
Maximum length: 255
statusstringOptionalStatus of the operation (e.g., success, error)
Maximum length: 255

Referenced models: Add Tags to Records — response body — data item details

Merge Tags — request body — body tags item
FieldTypePresenceDescription and constraints
$objectRootNested schema for tag details in requests.
Additional keys: not allowed
color_codestring or nullOptionalColor code of the tag
Maximum length: 7
conflict_idstring or nullOptionalID of the tag to be merged into the master tag
Maximum length: 19
modified_timestring or nullOptionalLast modification timestamp of the tag
Format: date-time
Maximum length: 25
namestring or nullOptionalTag name
Maximum length: 25
Add Tags to Records — response body — data item details
FieldTypePresenceDescription and constraints
$objectRootNested schema for operation details in responses.
Additional keys: not allowed
affected_datanullOptionalAffected data in the operation
idstringOptionalUnique identifier of the record
Maximum length: 255
modifiedTimestringOptionalLast modified time of the record
Maximum length: 255
not_added_tagsarrayOptionalTags that were not added to the record
Maximum items: 10
not_added_tags[]ModelEach itemExpand Add Tags to Records — response body — data item details tags item
tagsarrayOptionalTags associated with the record
Maximum items: 10
tags[]ModelEach itemExpand Add Tags to Records — response body — data item details tags item

Referenced models: Add Tags to Records — response body — data item details tags item

Add Tags to Records — response body — data item details tags item
FieldTypePresenceDescription and constraints
$objectRootNested schema for tag details in responses.
Additional keys: not allowed
color_codeJSONOptional
color_code (anyOf 1)stringAlternativeColor code of the tag
Maximum length: 255
color_code (anyOf 2)nullAlternativeColor code of the tag
Maximum length: 255
idstringOptionalUnique identifier of the tag
Maximum length: 255
namestringOptionalTag name
Maximum length: 255
ridstringOptionalResource ID
Format: uuid

SDK function policy ID: zoho.postremovetagswithid. Catalog operation: postRemoveTagsWithId. 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 which product and documentation features are useful.

Performance diagnostics

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

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