Update data metadata

Update data metadata

Update the data item metadata.

POSThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/data/{dataId}
Path parameters
organizationId*integer

Organization ID

dataId*integer

Data ID

Body
namestring
datasetstring
metadataobject
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/data/{dataId}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated