Update Unformatted Policy¶
Update the data storage time of organization’s unformatted storage policy.
Request Format¶
GET https://{apigw-address}/tsdb-policy/v2.1/policies/unformatted/update
Request Parameters(URI)¶
Name  | 
Location(Path/Query)  | 
Mandatory/Optional  | 
Data Type  | 
Description  | 
|---|---|---|---|---|
orgId  | 
Query  | 
Mandatory  | 
String  | 
The organization ID which the asset belongs to. How to get organization ID>>  | 
retention  | 
Query  | 
Mandatory  | 
String  | 
Data storage time. All supported retention include   | 
Error Code¶
For the description of error codes, see Common Error Codes.
Sample¶
Request Sample¶
url: https://{apigw-address}/tsdb-policy/v2.1/policies/unformatted/update?orgId=yourOrgId&retention=3M
method: GET
Return Sample¶
{
  "code": 0,
  "msg": "OK",
  "submsg": null,
  "data": null
}