Moves one or more archived packages back to live (active) state so they can be used again in deployments and SSP publishing.
https://{serverurl}/dcapi/swDeployment/package/restoreArchivedPackages
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Array of package ID longs to restore. Obtain package IDs from the packageId field in the response of the List Packages API.
curl --request POST \
--url https://appdomains/dcapi/swDeployment/package/restoreArchivedPackages \
--header 'Accept: application/PackageRestoreStatus.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/PackageRestoreStatus.v1+json' \
--data '{}'Restore one package
{
"packageIds": [
10001
]
}
Restore multiple packages
{
"packageIds": [
10001,
10002
]
}
Operation result message
SW_INTERNAL_ERROR for cleanup settings failures, INTERNAL_ERROR for restore operation errors
Internal server error with details about the cleanup policy or archive restore failure
Packages restored
{
"status": "success"
}
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.