Retrieves the total count of configurations currently in the trash for the requesting user. Supports optional filters for Software Deployment, Patch Management, or Vulnerability Management modules.
get /dcapi/configuration/trashCount
https://{serverurl}/dcapi/configuration/trashCount
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
When true, includes Software Deployment configurations in the trash count.
When true, includes Patch Management configurations in the trash count.
When true, includes Vulnerability Management configurations in the trash count.
curl --request GET \
--url https://appdomains/dcapi/configuration/trashCount \
--header 'Accept: application/configTrashCount.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Total count of configurations currently in trash that match the specified filter criteria and are accessible to the requesting user.
Unauthorized error code: credentials missing, expired, or invalid
Authentication failure reason
50001: internal server error code indicating unexpected exception in the service layer
Internal server error. Contact administrator.
Trash count across all modules
{
"trashCount": 15
}
No items in trash
{
"trashCount": 0
}
User lacks required roles
{
"error_description": "Access denied - You are not allowed to access the requested resource.",
"error_code": "UAC_UNAUTHORIZED"
}
Unexpected failure while calculating trash count
{
"error_description": "Internal server error. Contact administrator.",
"error_code": "50001"
}
![]()
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.