ppds_plugin_traces_delete
Delete plugin trace logs. Provide exactly one mode: specific IDs for targeted deletion, olderThanDays for age-based cleanup, or filter parameters (typeName, messageName, primaryEntity, errorsOnly) for criteria-based deletion.
Input schema
| Name | Type | Required | Description |
|---|---|---|---|
| ids | String[] | no | Trace IDs to delete (array of GUID strings from ppds_plugin_traces_list) |
| olderThanDays | Nullable<Int32> | no | Delete all traces older than this many days (minimum 1). Use for bulk cleanup. |
| typeName | String | no | Delete traces matching this plugin type name |
| messageName | String | no | Delete traces matching this message name (e.g., 'Create', 'Update') |
| primaryEntity | String | no | Delete traces matching this entity logical name (e.g., 'account') |
| errorsOnly | Nullable<Boolean> | no | Delete only traces that have exceptions |
Output
Returns Task<PluginTracesDeleteResult>.