---
title: "Update Message Store Configuration"
method: PUT
path: "/restapi/v1.0/account/{accountId}/message-store-configuration"
tags: ["Message Store"]
---

# Update Message Store Configuration

`PUT /restapi/v1.0/account/{accountId}/message-store-configuration`

Updates message store settings.

## Path parameters

- `accountId` string, required

## Request body

- MessageStoreConfiguration
  - `retentionPeriod` integer — Retention policy setting, specifying how long to keep messages; the supported value range is 7-90 days. Currently, the retention period is supported for `Fax` and `Voicemail` messages only. SMS messages are stored with no time limits

## Response `200`

Updated message store configuration

- MessageStoreConfiguration
  - `retentionPeriod` integer — Retention policy setting, specifying how long to keep messages; the supported value range is 7-90 days. Currently, the retention period is supported for `Fax` and `Voicemail` messages only. SMS messages are stored with no time limits

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/versions/8d602198ec97/schema)
