Updates the list of packages published in a self service portal group. Requires the collection ID from the existing published configuration.
post /dcapi/swDeployment/publishGroup/modify
https://{serverurl}/dcapi/swDeployment/publishGroup/modify
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Resource ID of the target custom group. Obtain from the groupResourceId field in the response of the List SSP Publish Groups API.
Configuration type: 1=Computer, 2=User
Collection ID of the existing SSP configuration. Obtain from the collectionId field in the response of the Check Custom Group Published API.
Array of package publish detail objects
Package ID to publish. Obtain from the packageId field in the response of the List Packages API.
Approval type: 0 - published package without approval, 1 - published package with approval (applicable only when integrated with Service Desk Plus)
Optional credential details for run-as-user installs. Get available credentials from the List Credentials API.
Credential identifier
Credential UUID string
Display name of the credential
Optional install context: systemUser, targetUser, or runAsUser
Optional flag to allow user interaction during installation
curl --request POST \
--url https://appdomains/dcapi/swDeployment/publishGroup/modify \
--header 'Accept: application/modifyPackageGroup.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/modifyPackageGroup.v1+json' \
--data '{}'Replace packages in SSP group
{
"packageDetails": [
{
"packageId": 10001,
"packageApproval": 0
},
{
"packageId": 10004,
"packageApproval": 1
}
],
"configType": 1,
"collectionId": "5001",
"groupResourceId": "301"
}
Localized message describing the publish result. Contains success confirmation, archived package warning, or invalid package error.
Unauthorized error code: credentials missing, expired, or invalid
Authentication failure reason
INTERNAL_ERROR for publish/modify failures, SW_INTERNAL_ERROR for SSP configuration errors
Internal server error with details about the SSP publish or group operation failure
Modified successfully
{
"statusMsg": "Packages published for the Group (Engineering Workstations)"
}
No access to modify
{
"errorMessage": "The user has no access to modify published group.",
"errorCode": "ACCESS_DENIED"
}
Server error
{
"errorMessage": "Internal Server Error",
"errorCode": "INTERNAL_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.