Analytics
Delete Call Logs by ID
Delete specific call-log entries by ID.
DELETE
Permanently removes the call-log rows whose IDs are listed in the request body. Use this to clean up specific entries the operator picked from the call-log table.
IDs are accepted in the request body even though the method is
DELETE. The getmcp/v1 REST controller registers the same route for GET (list) and DELETE (this endpoint), keying off the HTTP method.Permission is gated on the WordPress core capability
manage_options — site admins only. Users with the lighter getmcp_view_analytics capability can read call logs but cannot delete them.Body Parameters
Array of call-log row IDs (integers) to delete. Non-integer values are filtered out before the SQL runs; an empty result yields a
400.Response Fields
Number of rows actually removed by the
DELETE query. IDs that didn’t exist are simply ignored — they do not raise an error.
