v1

latestOpenAPI 3.0.02026-07-14135106116.2 KB
data_retention_settings

Update scoped data retention settings

Permission required: edit_data_retention_settings

patch/data_retention_settings/{level}/{id}

Headers

X-Fieldsstring mask

An optional fields mask

Request body

Example request

{
  "settings": [
    {
      "age": 30,
      "how": "FULL",
      "what": "ALL"
    }
  ]
}

Response

Success

Example response

{
  "settings": [
    {
      "age": 30,
      "how": "FULL",
      "what": "ALL"
    }
  ]
}