Skip to content

Delete old request stats (super admin)

POST
/system/prune/request-stats
curl --request POST \
--url https://your-server.example/api/system/prune/request-stats \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "older_than_days": 1 }'
Media typeapplication/json
object
older_than_days
integer

Example generated

{
"older_than_days": 1
}

Pruned.

Media typeapplication/json
object
key
additional properties
any

Example generated

{}