Read Retention Period of Time Series Data

Retrieves retention period of time series data

With this service, you can retrieve the retention period maintained for the time series data for a specific tenant.

Request

URI: /TimeseriesRetentionPeriod

HTTP Method: GET

Permissions: <thing>.Conf.r

Request Parameters

Parameter Required Data Type Description
_retentionPeriodInDays Yes Integer Number of days to retain time series data in Time Series Store

Request Example

/TimeseriesRetentionPeriod

Response

Format: JSON

Response Status and Error Codes

Code Description
200 Retention time period retrieved successfully

Payload

Format: JSON

Only media type JSON is supported. The JSON for this method has the following structure:

{
    "_retentionPeriodInDays" : 60
}