Set Retention
Sets retention in your WorkOS environment.
POST
Body
Arguments
stringrequired
Unique identifier of the Organization.
numberrequired
The number of days Audit Log events will be retained. Valid values are 30 and 365.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.