[//]: # (werk v2)
# audit_log: Deprecate 'delete' method and replace it for 'archive'
key | value
---------- | ---
date | 2024-02-09T13:24:13+00:00
version | 2.4.0b1
class | fix
edition | cre
component | rest-api
level | 1
compatible | no
Since the DELETE method actually archives the audit_log entries, this endpoint is
replaced by domain-types/audit_log/actions/archive/invoke
The DELETE endpoint is deprecated and will be removed on version 2.4.0.
In order to update their scripts, users should replace
curl -x DELETE
http://host/site/api/1.0/domain-types/audit_log/collections/all
with
curl -x POST
http://host/site/api/1.0/domain-types/audit_log/actions/archive/invoke