DELETE
/
measurements
/
{measurementId}
curl --request DELETE \
  --url https://connect.withvayu.com/measurements/{measurementId} \
  --header 'Authorization: Bearer <token>'
{
  "measurement": {
    "accountId": "<string>",
    "period": {
      "startTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z"
    },
    "meterId": "<string>",
    "customerId": "<string>",
    "value": 1,
    "price": 123,
    "measurementPriceId": "<string>",
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

measurementId
string
required

Response

200
application/json
RequestSuccess
measurement
object
required