Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7
typeflat

This API deletes the calculated data automatically created by Machlake. Since this calculated data is designed not to be deleted even if the original tag data is deleted, a separate deletion process is required. All data before the time specified as base_time can be deleted. If this value is not specified, all data existing in calculated will be deletedMachlake에 의해서 자동생성된 통계데이터를 삭제한다. 자동생성된 통계데이터는 원시 데이터가 삭제되어도 같이 삭제되지 않으므로 별도의 API호출이 필요하다. Base_time매개변수의 포멧은 Single Tag Value Delete API와 동일하며, base_time 매개변수를 지정하지 않으면 모든 통계 데이터가 삭제된다. 자세한 내용은 링크에 기술되어 있다.

HTTP Request

Code Block
DELETE https://${CloudVendor}.${CountryCode}.machlake.com/lakes/${lake_id}/values/calculated
Content-Type: application/json; charset=utf8
x-api-key: {API Key}
  
{
    "base_time" : "{time}"
}

...