단가 버전 보관
curl --request DELETE \
--url https://meterengine.com/v1/billable-metrics/{code}/price-rates/{id} \
--header 'Authorization: Bearer <token>'const url = 'https://meterengine.com/v1/billable-metrics/{code}/price-rates/{id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}단가
단가 버전 보관
현재 월 효력은 유지하고 다음 달부터 중단한다. 미래 예약은 시작 전 보관되며 버전 이력은 유지한다.
DELETE
/
v1
/
billable-metrics
/
{code}
/
price-rates
/
{id}
단가 버전 보관
curl --request DELETE \
--url https://meterengine.com/v1/billable-metrics/{code}/price-rates/{id} \
--header 'Authorization: Bearer <token>'const url = 'https://meterengine.com/v1/billable-metrics/{code}/price-rates/{id}';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}