Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

이 API는 특정 시점 이전의 모든 센서 데이터를 삭제한다. 시간 값은 base_time 매개변수로 전달한다. 대량의 데이터가 저장되어 저장공간이 부족할때 과거 데이터를 삭제하려고 할 때 사용된다. 시간값을 지정하는 포멧은 Single Tag Value Delete와 동일하다. Base_time 매개변수를 지정하지 않았을 경우, 모든 센서 데이터가 삭제된다. 자세한 내용은 링크에 기술되어 있다.

HTTP Request

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

...