Success
const response = await fetch('/Meter/{id}/labels/{key}', { method: 'DELETE', headers: {}, }); const data = await response.json();
The ID of the meter to set labels for
The labels to set on the meter
Key of the label. Unique for a given Meter.
Value of the label.
const response = await fetch('/Meter/{id}/labels', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify([ {} ]), }); const data = await response.json();
const response = await fetch('/Meter/{id}/labels/{key}', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('/Meter/{id}/labels/{key}', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();