Skip to content

Update activity log retention (super admin)

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

Example generated

{
"retention_days": 1
}

Updated.

Media typeapplication/json
object
status
string

Example

{
"status": "ok"
}