Skip to main content
POST
Set the workspace audit log retention

Authorizations

Authorization
string
header
required

API token for authentication

Body

application/json
workspace_id
string
required
settings
object
required

The workspace's retention. retention_days absent means the deployment default (365 days unless a root user changed it); 0 keeps every entry forever.

Response

Saved

status
string
Example:

"success"

message
string