Skip to main content

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

NameTypeRequiredDescription
idsString[]noTrace IDs to delete (array of GUID strings from ppds_plugin_traces_list)
olderThanDaysNullable<Int32>noDelete all traces older than this many days (minimum 1). Use for bulk cleanup.
typeNameStringnoDelete traces matching this plugin type name
messageNameStringnoDelete traces matching this message name (e.g., 'Create', 'Update')
primaryEntityStringnoDelete traces matching this entity logical name (e.g., 'account')
errorsOnlyNullable<Boolean>noDelete only traces that have exceptions

Output

Returns Task<PluginTracesDeleteResult>.