cURL
curl --request DELETE \ --url https://connect.withvayu.com/measurements/{measurementId} \ --header 'Authorization: Bearer <token>'
{ "measurement": { "customerId": "<string>", "meterId": "<string>", "usageDate": { "year": 1, "month": 6, "day": 16 }, "value": 123, "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deletedAt": "<string>" } }
Delete a Measurement by id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
RequestSuccess
Show child attributes
The customer for whom usage will be attributed
The meter/product that is being measured
The day the usage took place
x >= 0
0 <= x <= 12
1 <= x <= 31
The updated value of product units consumed by the customer, for the product for given day