Saves the specified configuration as a template for future reuse across deployments.
https://{serverurl}/dcapi/configuration/{collectionId}/saveAsTemplate
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
The unique numeric identifier of the configuration to be saved as a reusable template. Fetch from Get Configurations View .
curl --request POST \
--url https://appdomains/dcapi/configuration/{collectionId}/saveAsTemplate \
--header 'Accept: application/collnTemplateDetails.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'The unique ID of the newly created template
Human-readable confirmation message
SERVICE_NOT_AVAILABLE: the configuration was created from a Global Template and save-as-template is restricted for MSP
Message indicating Global Template restriction prevents save-as-template
Unauthorized error code: credentials missing, expired, or invalid
Authentication failure reason
INTERNAL_SERVER_ERROR: storage limit exceeded on the server to create the template
Message indicating insufficient storage space to create the template
Template created successfully from existing configuration
{
"templateId": 2001,
"status": "Template created successfully."
}
Configuration was created from a Global Template
{
"error_description": "Configuration created from a Global Template cannot be saved as template",
"error_code": "SERVICE_NOT_AVAILABLE"
}
User lacks write role
{
"error_description": "Access denied - You are not allowed to access the requested resource.",
"error_code": "UAC_UNAUTHORIZED"
}
Server storage limit exceeded
{
"error_description": "Insufficient storage space to create the template",
"error_code": "INTERNAL_SERVER_ERROR"
}
![]()
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.