Used to persist the deployment
https://{serverurl}/intelligence/api/deployments/v2/persistDeployment
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Name for the new deployment
Deployment type code: 0=Immediate, 1=Scheduled, 2=Trigger. Fetch options from Get Deployment Types
Resources to deploy
Resource type identifier. Fetch from Get Deployment Resources
Resource version identifier. Fetch from Get Published Resources
Target selection for the deployment
Included target custom groups
Display name of the target custom group
Custom group identifier. Fetch from Get Deployment Targets
Execution scheduling configuration; empty object for immediate deployments
curl --request POST \
--url https://appdomains/intelligence/api/deployments/v2/persistDeployment \
--header 'Accept: application/deploymentPersist.v2+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/deploymentPersist.v2+json' \
--data '{}' {
"deploymentType": 0,
"targetData": {
"included": [
{
"label": "All Windows Devices",
"value": "10"
}
]
},
"resourcesDetails": [
{
"versionID": 1001,
"resourceTypeID": 1
}
],
"deploymentName": "Onboarding Deployment",
"executionData": {}
}
Confirmation message including the created deployment name and id
{
"message": "Deployment 'Onboarding Deployment' created successfully with ID '42'."
}
![]()
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.