/
Calculated Tag Value Delete

Calculated Tag Value Delete

Machlake에 의해서 자동생성된 통계데이터를 삭제한다. 자동생성된 통계데이터는 원시 데이터가 삭제되어도 같이 삭제되지 않으므로 별도의 API호출이 필요하다. Base_time매개변수의 포멧은 Single Tag Value Delete API와 동일하며, base_time 매개변수를 지정하지 않으면 모든 통계 데이터가 삭제된다.

HTTP Request

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}" }

Parameters

No parameters.

Request Example

DELETE https://aws1.us.machlake.com/lakes/xbacd1234/values/calculated Content-Type: application/json; charset=utf8 x-api-key: {API Key} { "base_time" : "2021-07-06 12:13:00" }

Response Example

Status 200 { "status": "success", "data": {} }

Sample Code