# Update your GA4 property's data retention settings

Provider: Google Analytics
Final price: free
Success rate: n/a

properties.updateDataRetentionSettings — Updates the singleton data retention settings for this property.

## Parameters

- name (string, required)
- updateMask (string, optional)

## Example

```curl
curl -X PATCH 'https://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-properties-updatedataretentionsettings' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"
```

[View on Toolswitch](https://toolswitch.dev/ko/tools/google-analytics.x.analyticsadmin-properties-updatedataretentionsettings)
