curl --request POST \
--url https://api.example.com/api/apps/{app_id}/collections/{collection}/retention \
--header 'Content-Type: application/json' \
--data '
{
"retention_days": 1
}
'curl --request POST \
--url https://api.example.com/api/apps/{app_id}/collections/{collection}/retention \
--header 'Content-Type: application/json' \
--data '
{
"retention_days": 1
}
'Request to configure retention for a collection
Retention period in days (None = permanent storage) Note: First 30 days are always free
x >= 0Retention configuration updated