/
Drop Tag

Drop Tag

지정한 tag정보와 등록된 모든 데이터를 삭제한다. Tag_name 매개변수는 반드시 지정해야 한다.

HTTP Request

DELETE https://${CloudVendor}.${CountryCode}.machlake.com/lakes/${lake_id}/tags Content-Type: application/json; charset=utf8 x-api-key: {API Key} { "name" : "{name_of_tag}" }

Parameters

no parameters

Request Example

DELETE https://aws1.us.machlake.com/lakes/xbacd1234/tags Content-Type: application/json; charset=utf8 x-api-key: {API Key} { "name" : "newtag02" }

Response Example

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

Sample Code

이 예제에서, sensor1, sensor2의 tag가 사전에 생성되어 있는 것을 가정한다. 해당 tag가 없으면 오류로 처리된다.