Returns a paginated list of all configurations that have been moved to trash for the requesting user. Supports pagination (_PN) and search (SEARCH_COLUMN / SEARCH_VALUE). Each row includes the deleted-by user, deleted time and the collectionId, which can be used in the trash restore / permanent delete APIs.
get /dcapi/configuration/viewData/trashView
https://{serverurl}/dcapi/configuration/viewData/trashView
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Page number to fetch (1-based). Defaults to 1.
Column alias on which the search should be applied. Searches against the configuration name (Collection.COLLECTION_NAME). Must be supplied together with SEARCH_VALUE.
Substring to search for within the configuration name. Case-insensitive.
curl --request GET \
--url https://appdomains/dcapi/configuration/viewData/trashView \
--header 'Accept: application/configurationMickeyViews.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Result of the trash-view fetch — 'success' on success, 'failure' on internal error.
Array of trashed configuration row objects matching the applied search/sort, paginated by _PN.
Unique configuration (collection) ID returned as a stringified long. Use this value in the trash restore / permanent delete APIs.
Customer (org) ID owning this trashed configuration. Relevant for MSP setups.
Display name of the configuration at the time it was trashed.
Display-formatted variant of collection_name (same value).
Configuration-type ID (e.g., 117 = Message Box, 121 = Custom Script).
Target type code: '1' = User configuration, '2' = Computer configuration.
i18n key of the configuration-type label (e.g., 'dc.conf.conf_param.Message_Box'). Use label_transform for the localised text.
Localised configuration-type label suitable for display.
Relative path to the small icon representing the configuration type (used by the UI).
'true' when this is a Single Config (collectionType=1), 'false' when it is a Collection (collectionType=2).
Last-known numeric status code of the collection before it was trashed (e.g., '4' = Executed).
i18n key of the last-known collection status (e.g., 'dc.db.config.status.executed'). Use statuslabel_transform for the localised text.
Localised, display-ready last-known status label (e.g., 'Executed', 'Deployed', 'Suspended').
Relative path to the icon representing the last-known status.
Total number of resources targeted by this configuration before it was trashed. null when no targets were computed.
Display-formatted total-target count; '--' when null.
Targets where the configuration had not yet been applied. null when not computed.
Display variant of yet_to_apply_count; '--' when null.
Targets where the configuration was successfully applied. null when not computed.
Display variant of success_count; '--' when null.
Targets where the configuration application failed. null when not computed.
Display variant of failed_count; '--' when null.
Targets being retried after an earlier failure. null when not computed.
Display variant of retry_inprogress_count; '--' when null.
Targets where the configuration was not applicable. null when not computed.
Display variant of not_applicable_count; '--' when null.
Human-readable summary of per-status counts (e.g., 'Total Targets ( 1 ), Success ( 1 )'). null when no summary computed.
Display variant of status_count_desc; '--' when null.
Platform code: '1' = Windows, '2' = Mac, '3' = Linux.
Platform name — Windows, Mac, or Linux.
Display variant of os_platform_name.
ID of the technician who created the configuration.
Login/display name of the technician who created the configuration.
Display variant of first_name (PII-masked when applicable).
ID of the technician who last modified the configuration before it was trashed.
Login/display name of the technician who last modified the configuration before it was trashed.
Creation timestamp as Unix epoch milliseconds (string).
Last-modified timestamp (typically equal to deleted_time for trashed configurations) as Unix epoch milliseconds (string).
Human-readable last-modified timestamp (e.g., 'Apr 28, 2026 10:50 AM').
Always 'true' for rows returned by the trash view.
Login name of the technician who moved the configuration to trash.
Display variant of deletedby (PII-masked when applicable).
Timestamp when the configuration was moved to trash, as Unix epoch milliseconds (string).
Human-readable deleted-time (e.g., 'Apr 28, 2026 10:50 AM').
Internal DC user reference (for user-targeted configurations).
Source indicator for the configuration's origin (e.g., template ID it was created from). null when created from scratch.
'true' when the row should be shown in the user's current view scope; 'false' when filtered out by scope but still returned.
Pagination metadata for the response.
Current page number (1-based).
Number of records per page applied to this response.
Total number of trashed configurations matching the applied filters across all pages.
Total number of pages available based on the page limit.
Hypermedia navigation links for first / previous / next / last pages.
URL of the first page of results.
URL of the previous page of results. Omitted on the first page.
URL of the next page of results. Omitted on the last page.
URL of the last page of results.
Validation error — typically input-processing failure or pagination out of range. _PN must be 1-100000.
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.
First page of trashed configurations sorted by last-modified time descending (default)
{
"metadata": {
"limit": 25,
"page": 1
},
"totalRecords": 1,
"messageResponse": [
{
"total_target_count": "1",
"modifieduser_user_id": "9502000000121919",
"status_count_desc_transform": "Total Targets ( 1 ), Success ( 1 )",
"collection_collection_id": "9502000000139889",
"dcuserscollectionmapping_collection_id": "9502000000139889",
"total_target_count_transform": "1",
"os_platform_name": "Windows",
"retry_inprogress_count_transform": "0",
"status_id": "4",
"collection_modified_time": "1777353655231",
"config_data_id": "9502000000139891",
"deletedby_transform": "testuser1",
"config_type": "1",
"statuslabel_transform": "Executed",
"os_platform_id": "1",
"os_platform_name_transform": "Windows",
"is_collection_deleted": "true",
"modifieduser_first_name": "testuser1",
"deletedby": "testuser1",
"collection_collection_id_transform": "9502000000139919",
"success_count_transform": "1",
"label_transform": "dc.conf.conf_param.Message_Box",
"retry_inprogress_count": "0",
"config_id": "117",
"user_id": "9502000000121919",
"small_image_name": "images/alert.png",
"yet_to_apply_count_transform": "0",
"deleted_time": "1777353655231",
"collection_name": "MyConfiguration20",
"dc_user_id": "9502000000121919",
"show_in_view": "true",
"collection_name_transform": "MyConfiguration21",
"statusimage": "images/config_status_executed.png",
"collection_platform_id": "1",
"statuslabel": "dc.db.config.status.executed",
"collection_id": "9502000000139889",
"first_name_transform": "testuser1",
"cfgdatatocollection_collection_id": "9502000000139889",
"collection_status": "4",
"deleted_time_transform": "Apr 28, 2026 10:50 AM",
"not_applicable_count": "0",
"not_applicable_count_transform": "0",
"first_name": "testuser1",
"failed_count_transform": "0",
"collection_creation_time": "1776757701089",
"is_single_config": "true",
"collection_modified_time_transform": "Apr 28, 2026 10:50 AM",
"success_count": "1",
"label": "dc.conf.conf_param.Message_Box",
"status_count_desc": "Total Targets ( 1 ), Success ( 1 )",
"yet_to_apply_count": "0",
"failed_count": "0",
"customer_id": "9502000000121939",
"created_from": null
}
],
"totalPages": 1,
"Links": {
"last": "/dcapi/configuration/viewData/trashView?_PN=1",
"first": "/dcapi/configuration/viewData/trashView?_PN=1"
},
"status": "success"
}
No configurations are currently in the trash
{
"metadata": {
"limit": 25,
"page": 1
},
"totalRecords": 0,
"messageResponse": [],
"totalPages": 0,
"Links": {
"last": "/dcapi/configuration/viewData/trashView?_PN=1",
"first": "/dcapi/configuration/viewData/trashView?_PN=1"
},
"status": "success"
}
_PN outside the allowed range
{
"Error": "PageNumber should not be greater than 100000 "
}
Failure while parsing the query parameters
{
"Error": "Error in Input Processing"
}
User lacks the required read role for the trash view
{
"error_description": "Access denied - You are not allowed to access the requested resource.",
"error_code": "UAC_UNAUTHORIZED"
}
Unexpected failure while resolving the trash view data
{
"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.